Copied to clipboard

Flag this post as spam?

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


  • gluc86 23 posts 123 karma points
    Feb 22, 2016 @ 13:58
    gluc86
    0

    Dashboard in my custom section

    Hello,

    I use Umbraco V6.2.5. I developed a custom section that is almost a copy of the listing of members. In this section, I would like to display a tab with a custom control as the tabs " Get Started" , "Last Edits " ... of the "Content " section. So I was in the configuration file " Dashboard.config " and I added the following code :

    <section alias="DashboardExtractionMembres">
    <areas>
          <area>member</area>
          <area>membresDepApp</area>
    </areas>
    <tab caption="Extraction Membres">
      <control>/usercontrols/GNI/ExtractionMembres.ascx</control>
    </tab>
    

    This for when I go into my section , I just have a blank page in the right side and no tab. I have my tab in the "member" section but not in my "membresDepApp" section. Ideas for where is my problem?

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Feb 23, 2016 @ 07:28
    Jeroen Breuer
    0

    Hello,

    Maybe this blog can help: http://24days.in/umbraco/2013/dashboard-overload/

    Jeroen

  • gluc86 23 posts 123 karma points
    Feb 23, 2016 @ 11:14
    gluc86
    0

    I have the same type of configuration in my file "Dashboard.config", "tree.config" and "application.config" but my frame rigth is empty... My problem can be just a bad configuration of my custom section ? ...

  • Comment author was deleted

    Feb 23, 2016 @ 11:18

    What happen if you remove the member area from the areas element?

    So turn

    <areas>
          <area>member</area>
          <area>membresDepApp</area>
    </areas>
    

    into

    <areas>
          <area>membresDepApp</area>
    </areas>
    
  • gluc86 23 posts 123 karma points
    Feb 23, 2016 @ 12:57
    gluc86
    0

    Nothing in my custom section, but in the member section, my custom Dashboard disappears.

  • Comment author was deleted

    Feb 23, 2016 @ 12:57

    Ok and you are 100% sure about the name of the area?

  • gluc86 23 posts 123 karma points
    Feb 23, 2016 @ 13:30
    gluc86
    0

    Declaration in tree.config :

      <add initialize="true" sortOrder="0" alias="MembresDepTree" application="membresDepApp" title="Membres Département" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" type="Membres.MembresDepTree, Membres" />
    

    Declaration in application.config :

    <add alias="membresDepApp" name="MembresDepApp" icon="icon-wand" sortOrder="7" />
    

    Declaration in Dashboard.config :

    <section alias="DashboardExtractionMembres">
    <areas>
      <area>membresDepApp</area>
    </areas>
    <tab caption="Extraction Membres">
      <control>/usercontrols/ExtractionMembres.ascx</control>
    </tab>
    

  • Comment author was deleted

    Feb 23, 2016 @ 13:33

    Long shot but maybe try lowercasing membresDepApp ? You might have found a bug...

  • gluc86 23 posts 123 karma points
    Feb 23, 2016 @ 13:55
    gluc86
    0

    Dude... you are my savior !!! Alias must be lowercasing ^^ Great thanks.

  • Comment author was deleted

    Feb 23, 2016 @ 13:57

    Great, glad you found it, any chance you can report this as a bug? http://issues.umbraco.org/issues/U4

  • gluc86 23 posts 123 karma points
    Feb 23, 2016 @ 14:07
  • Comment author was deleted

    Feb 23, 2016 @ 14:09

    Yeah seems like it's been reported some years ago, can be frustrating as you found out :)

  • 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