Copied to clipboard

Flag this post as spam?

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


  • Bex 444 posts 555 karma points
    Dec 03, 2012 @ 11:39
    Bex
    0

    4.9.1 Two Custom Sections showing the same icon in admin

    Hi All

    I have created 2 new custom sections on my umbraco backend and applied a different image to each under the appIcon column.

    The first is called users.png and the other products.png. When I run umbraco, both new sections are appearing with the "products.png" icon. Users is set as sort order 11 and products sort order 10.

    I have both icons in umbraco/images/tray folder so I am unsure what I am doing wrong? Is this a bug or am I missing something?

    Any help?

    Bex

     

  • Bex 444 posts 555 karma points
    Dec 05, 2012 @ 17:05
    Bex
    0

    Has anyone experieneced this or got any suggestions for me?

    Need to get it sorted and not sure what to do!

  • Bex 444 posts 555 karma points
    Dec 06, 2012 @ 16:00
    Bex
    0

    Finally I have found out what's going on!

    Umbraco changing things and not telling, or at least not telling in an obvious place! Updating the wiki documentation would have been very helpful!!

    Ok, so.. apparently we don't need to use the umbracoApp and AppTree tables anymore. Instead go to the config folder and find the two files applications.config and trees.config.

    What I put in the tables was automatically written here, but it appears to have either been written wrong or only written once and I updated it since.

    Anyway, now instead of adding stuff to the tables just add nodes here:

    in the applications.config:

     <add alias="CustomUserAdmin" name="Products" icon="users.png" sortOrder="11" />
      <add alias="Products" name="Products" icon="products.png" sortOrder="10" />

    Then in the trees.config

     <add silent="false" initialize="true" sortOrder="0" alias="CustomUserAdmin" application="CustomUserAdmin" title="User Admin" iconClosed="legacy" iconOpen="legacy" assembly="MyAssembly" type="loadUserAdmin" action="" />
      <add silent="false" initialize="true" sortOrder="0" alias="Products" application="Products" title="Products" iconClosed="legacy" iconOpen="legacy" assembly="MyAssembly" type="loadProducts" action="" />

     

    Sorted!

Please Sign in or register to post replies

Write your reply to:

Draft