Copied to clipboard

Flag this post as spam?

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


  • Markus Johansson 1701 posts 4879 karma points c-trib
    Feb 15, 2014 @ 11:17
    Markus Johansson
    0

    V7: Tree icons not showing up....

    Hi!

    I have upgraded a site from V4+ to V7 - Works great! Needed some changes to macrofiles and to inline razor stuff but the over all experiance was great!

    I have one annoying issue. The icons in the navigation tree won't show up.

    I had this issue when I tested the Alpha due to the fact that my IIS did not serve the .SVG-files. But I've added this to my web.config:

    <staticContent>
      ...
      <remove fileExtension=".svg" />
      <mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
    </staticContent>

    Anyone has an idea? 

    Thanks!

  • Markus Johansson 1701 posts 4879 karma points c-trib
    Feb 15, 2014 @ 11:22
    Markus Johansson
    100

    Turns out i manage do figure it out! =D

    The problem was in the /config/application.config-file. When I made the upgrade the icon-attributes was starting with a dot "." like this:

    <applications>
     <add alias="content" name="Content" icon=".traycontent" sortOrder="0" />
     <add alias="media" name="Media" icon=".traymedia" sortOrder="1" />
      ..
    </applications> 


    Removing the dots solved the problem and made the icons appear:

     <applications>

     <add alias="content" name="Content" icon="traycontent" sortOrder="0" />
     <add alias="media" name="Media" icon="traymedia" sortOrder="1" />
      ..
    </applications> 


    Cheers! 

  • 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