Copied to clipboard

Flag this post as spam?

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


  • De kev 1 post 21 karma points
    May 19, 2011 @ 14:24
    De kev
    0

    Add a usercontrol to a tab in backoffice of umbraco

    Hi,

    I'm new in Umbraco and i have a question.
    Is it possible to add a tab with a usercontrol to a child node in umbraco ?

    Now i have this:

    <section>
        <areas>
          <area>default</area>
          <area>content</area>
        </areas>

        <tab caption="test tab">
          <control>/usercontrols/test.ascx</control>
        </tab>
      </section>

    But i would like something like this:

    <section>
        <areas>
          <area>default</area>
          <area>content/test node</area>
        </areas>

        <tab caption="test tab">
          <control>/usercontrols/test.ascx</control>
        </tab>
      </section>

    This doesn't work but i think you see what i'm trying to do ;-)

    Thanks in advance for your help!

    Regards,

    Kevin

  • Tom Fulton 2030 posts 4996 karma points c-trib
    May 19, 2011 @ 14:35
    Tom Fulton
    0

    Hi Kevin,

    You want to add the usercontrol on an actual content node?

    To do this you should create a Datatype and add it to that Document Type.  You can use the "Usercontrol Wrapper" to create a datatype from a usercontrol. 

    The "Dashboards" are just for the top section nodes (ie Content, Media, etc), but you can get the same functionality using a datatype.

    Here is an older tutorial on this but the concept is pretty much the same.  With 4.7 you can now add settings to the datatype also - see this tutorial.

    Hope this helps,
    Tom

  • 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