Copied to clipboard

Flag this post as spam?

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


  • Stig Kulvedrøsten 48 posts 69 karma points
    Feb 07, 2011 @ 22:04
    Stig Kulvedrøsten
    0

    List other media types then 'Folder'

    Is it possible to get the DMU to list other media types then folder when selecting where to upload files?

    In the CreateMediaTree method I see the 'folder' alias is hardcoded in there... Anyway to extend this?

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Feb 07, 2011 @ 22:21
    Matt Brailsford
    0

    Hey Stig,

    Which provider is it you are using?

    Many thanks

    Matt

  • Stig Kulvedrøsten 48 posts 69 karma points
    Feb 07, 2011 @ 22:44
    Stig Kulvedrøsten
    0

    I guess I'm using the default one. Haven't done any configuration.

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Feb 08, 2011 @ 10:05
    Matt Brailsford
    0

    Ooops, my bad, I thought it was a different project you were having issues with.

    Unfortunately it's not possible to define a "custom" folder to upload files to, due mainly in part that umbraco doesn't really have a concept to separate a "folder / container" from a "media item". The nearest thing I guess would be to check whether it's allowed sub elements, but then you are also getting into a lot of checking to make sure the file is actually allowed to be uploaded to that section.

    I can add it to my list of things to look at, but it's not going to be a priority for me.

    Many thanks

    Matt

  • Stig Kulvedrøsten 48 posts 69 karma points
    Feb 08, 2011 @ 10:38
    Stig Kulvedrøsten
    0

    Ok. I guess I'll just replace your .ashx file then. Thanks!

    I can keep you informed about any changes I make if you like. And if it is up to your standards you can include it in future releases :)

    Stig

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Feb 08, 2011 @ 10:50
    Matt Brailsford
    0

    Hey Stig,

    Sure thing, I'd love to see any changes you make and add them in if they will benefit everyone.

    All the best

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft