Copied to clipboard

Flag this post as spam?

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


  • Rik Helsen 670 posts 873 karma points
    Oct 27, 2009 @ 17:27
    Rik Helsen
    0

    How would i extend a default backend section (such as media)

    We have some usercontrols that handle images that we need to re-use for a website...

     

    is it possible to load the usercontrols as additional items under the existing "Media" section?

    I've read about creating new sections and have done a little test case, but don't immediatly see how i would add 2 admin pages to the existing "media" section

    Kind regards,

    Rik

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Oct 27, 2009 @ 17:30
    Tim Geyssens
    4

    You could just add them to the media dashboard section. Or create them as datatypes (will need some more details on the controls to advise a correct approach).

  • Morten Bock 1867 posts 2140 karma points MVP 2x admin c-trib
    Oct 27, 2009 @ 22:20
    Morten Bock
    0

    If I understand correctly, then your are looking for a way to use the usercontrols the same way that you use images?

    This can be done just by creating a Macro, that points to your usercontrol. On the macro you can allow users to insert it into for example a richtext editor, thus inserting it into a page.

    Have I understood correctly?

  • Rik Helsen 670 posts 873 karma points
    Oct 28, 2009 @ 09:05
    Rik Helsen
    0

    Actually, we just need to find a way to add some "admin pages" to the backend "media" section.

    It's a kind of digital asset management system, but the images are only used in other custom usercontrols (not in the page content)

    so i'm looking for a way to add pages in the backend "media" section, so i don't have to create a seperate section for them.

  • Dirk De Grave 4537 posts 6006 karma points MVP 3x admin c-trib
    Oct 28, 2009 @ 09:45
    Dirk De Grave
    1

    I'd go with Tim's solution, build user controls to do whatever is required and register those as dashboard controls in the media section. All those 'admin pages' will be available to anyone with access to the media section. 

     

    Cheers,

    /Dirk

  • Rik Helsen 670 posts 873 karma points
    Oct 28, 2009 @ 11:15
    Rik Helsen
    0

    Thanks, that worked fine for adding additional tabs to the media sections!

    Is there also a way to have it included in the left area where all the media nodes are shown?

  • Dirk De Grave 4537 posts 6006 karma points MVP 3x admin c-trib
    Oct 28, 2009 @ 12:54
    Dirk De Grave
    0

    Rik,

    In that case - as tim has pointed out - you could create a custom datatype and add that to a new or existing media type. 

     

    Hope this helps.

    Regards,

    /Dirk

  • 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