Copied to clipboard

Flag this post as spam?

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


  • Justin Spradlin 139 posts 347 karma points
    Jun 07, 2011 @ 07:49
    Justin Spradlin
    0

    How do I add a control to the backoffice document page

    I am creating a "Media Playlist" document type that has child multiple  "Media Elements". I want to add a button to generate embed an embed code for the playlist. I would like to add it just below the "Link to Document" on the properties tab of the document. My users will use this button to generate a code that they can paste into a outside system to view the playlist. 

    Can anyone suggest where I should look for ideas on how to add a user control to a tab in the back off for a document node?

     

    Thank you,

     

    Justin

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Jun 07, 2011 @ 13:35
    Tom Fulton
    0

    Hi Justin,

    You can achieve this by creating a custom datatype.  Even though you won't actually need to store any data in it, it will allow you to add a control or usercontrol on a tab.

    Here's a couple articles from Tim's blog that explain:

    http://www.nibble.be/?p=97
    http://www.nibble.be/?p=24

    There's also an episode on umbraco.tv on Creating a custom datatype with the usercontrol wrapper

    Hope this helps,
    Tom

Please Sign in or register to post replies

Write your reply to:

Draft