Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jonas Nilsson 137 posts 260 karma points
    Jan 27, 2009 @ 12:42
    Jonas Nilsson
    0

    Virtual file system

    Is it possible to create custom file systems in the Media folder in Umbraco?, like from a database based filesystem or from another CMS?

    /Jonas

  • Morten Bock 1867 posts 2140 karma points MVP 2x admin c-trib
    Jan 28, 2009 @ 15:45
    Morten Bock
    0

    You mean like having a folder called "Corporate Media", that then gets it's sub nodes from a common database somewhere?

  • Jonas Nilsson 137 posts 260 karma points
    Feb 01, 2009 @ 09:03
    Jonas Nilsson
    0

    Exactly

    /Jonas

  • Morten Bock 1867 posts 2140 karma points MVP 2x admin c-trib
    Feb 01, 2009 @ 11:42
    Morten Bock
    0

    Well, I would say there are a couple of ways to do this.

    If you want to use alle the standard media pickers and so on, then you would need to use the built in Media node type. You could then create a datatype that is able to hold a reference to a certain file on your other repository. You would probably want to set of some sort of sync function to import the structure of your external repository, and run it as a scheduled task, to keep the tree up to date.

    Another alternative is to add you own node to the Media section, and the dynamically render the tree. Then you would also need to create your own "External media picker" for making references to the media in your umbraco content nodes. This approach would make it really hard to use the corporate media in the TinyMCE editor, unless you write your own plugin for that as well.

    All in all, it will take a bit of work to do, but it can certainly be done. You just need to figure out which approach is the best one for your use case.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies