Copied to clipboard

Flag this post as spam?

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


  • Jens Hummelmose 6 posts 26 karma points
    Dec 02, 2009 @ 21:20
    Jens Hummelmose
    0

    Rapid Article Template

    Hi there.

    I'm right now converting a site to UMBRACO Pro, and finds it very nice and easy to work with. But I have fallen into a small issue, that I would like to know if there's a solution to.

    Right now I'm using a upload control to provide images to the article, but I've notised that the images create their own folder under \media. I would like to collect all images for one article in the same folder (for example the article id). Is that possible, or are there any smart ways to do this thing ?

    Or am I just old fashioned. But since we post alot of articles, I would like to keep a nice and clean folder structure.

    Many regards

    Jens E. Hummelmose

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Dec 02, 2009 @ 21:48
    Dirk De Grave
    0

    Hi Jens,

    If using the upload control, no, it's not possible. Only thing that can be configured is wether using those 'id' folders or not. But, as umbraco is as flexible as can be, you can build/create your own datatype and use your own business logic to create the necessary folders...

    Building your own datatype isn't that difficult, just build a user control and host it inside a 'user control grapper' (don't worry about that name, there's a spelling mistake...)

    tim has done a great tutorial on rolling your own datatype this way and can be found here.

     

    Hope this helps.

    Regards,

    /Dirk

  • Jens Hummelmose 6 posts 26 karma points
    Dec 02, 2009 @ 22:49
    Jens Hummelmose
    0

    Thanks a lot.

    I'll look into that.

  • 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