Copied to clipboard

Flag this post as spam?

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


  • Troska 21 posts 41 karma points
    Dec 09, 2011 @ 11:09
    Troska
    0

    Creating a new tab under Content

    Hi all!

    I'm looking forward to extending the Content section of Umbraco by adding a new tab next to "Change password". Basically I want to create a page in .NET that will be displayed in the tab.

    Also, how hard would it be to create a package for these changes that I will be doing?

    Any help on how I would do this will be appreciated! 
    Thanks!

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Dec 09, 2011 @ 11:22
    Dirk De Grave
    0

    Troska,

    Just create a user control, and change the configuration for the dashboard and you're good to go.

      <section alias="StartupDashboardSection">
        <access>
          <deny>translator</deny>
        </access>
        <areas>
          <area>content</area>
        </areas>
        <tab caption="Get Started">
          <control showOnce="true" addPanel="true" panelCaption="">
            /umbraco/dashboard/startupdashboardintro.ascx
          </control>
          <control showOnce="true" addPanel="true" panelCaption="">
            /umbraco/dashboard/startupdashboardkits.ascx
          </control>
          <control showOnce="true" addPanel="true" panelCaption="">
            /umbraco/dashboard/startupdashboardvideos.ascx
          </control>
        </tab>
        <tab caption="Last Edits">
          <control>/umbraco/dashboard/latestEdits.ascx</control>
        </tab>
        <tab caption="Change Password">
          <control addPanel="true">/umbraco/dashboard/changepassword.ascx</control>
        </tab>
        <tab caption="MY TITLE">
          <control addPanel="true">/PATH/TO/USERCONTROL.ascx</control>
      </tab>
      </section>

    Just build your usercontrol, don't forget to add your assembly to the bin folder, and make sure to configure the path in Dashboard.config (/config folder).

     

    Cheers,

    /Dirk

     

     

     

     

  • Troska 21 posts 41 karma points
    Dec 09, 2011 @ 11:53
    Troska
    0

    Wow, that's much easier than I imagined. Thank you very much Dirk!

Please Sign in or register to post replies

Write your reply to:

Draft