Copied to clipboard

Flag this post as spam?

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


  • Jan Molbech 40 posts 126 karma points
    May 26, 2014 @ 08:40
    Jan Molbech
    0

    Strange looking icon in tray

    I'm extending the backend of a Umbraco ver. 6.1.6 solution and i'm getting a strange graphical behavior.

    If you look at the "kort admin" icon it looks like a part of a "missing file" icon in the bottom right corner is present. Obviously this is not part of the icon, so what file does Umbraco think is missing?

    Here is how I add my new section and the resulting applications.config

    [Application("kortAdmin""Kort Administration""kort-admin-icon.png",8)]
        public class KortApplication : IApplication { }
    <applications>
      <add alias="content" name="Content" icon=".traycontent" sortOrder="0" />
      <add alias="media" name="Media" icon=".traymedia" sortOrder="1" />
      <add alias="settings" name="Settings" icon=".traysettings" sortOrder="2" />
      <add alias="developer" name="Developer" icon=".traydeveloper" sortOrder="3" />
      <add alias="users" name="Users" icon=".trayusers" sortOrder="4" />
      <add alias="member" name="Members" icon=".traymember" sortOrder="5" />
      <add alias="translation" name="Translation" icon=".traytranslation" sortOrder="6" />
      <add alias="uCommerce" name="uCommerce" icon="ucommerce.gif" sortOrder="7" />
      <add alias="kortAdmin" name="Kort Administration" icon="kort-admin-icon.png" sortOrder="8" />
    </applications>
  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    May 26, 2014 @ 10:30
    Jan Skovgaard
    0

    Hi Jan

    I think it's something with the CSS sprite...What dimensions does your card icon have? Is it the same as the system icons?

    /Jan

  • Jan Molbech 40 posts 126 karma points
    May 26, 2014 @ 10:38
    Jan Molbech
    0

    I've had the design department create the icon using this http://our.umbraco.org/projects/developer-tools/custom-section-tray-icon-template

    So i'm guessing the icon has these dimensions.

    The dimensions are 49px width by 36px height.

    The "icon" part is roughly 25px width by 25px height.

  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    May 26, 2014 @ 10:59
    Jan Skovgaard
    0

    Hi Jan

    Ok - Perhaps this is a long shot but try this

    1: Go to the /app_data/TEMP/ClientDepdendency folder and delete all files within in it. Or simply just delete the folder 2: Go to /config/ClientDependency.config and increment the "version" attribute 3: Recycle the app pool

    This is clearing the backoffice cache, which might be the issue when a new tray icon is added.

    /Jan

  • Jan Molbech 40 posts 126 karma points
    May 26, 2014 @ 15:00
    Jan Molbech
    0

    That didn't have any effect.

    Any other suggestions?

  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    May 26, 2014 @ 15:46
    Jan Skovgaard
    0

    Hi Jan

    I have no clue at the moment but will let you know if I have one of those "AHA!" moments. But hopefully some of the other clever and friendly minds in here has the answer.

    /Jan

  • Jan Molbech 40 posts 126 karma points
    May 27, 2014 @ 10:33
    Jan Molbech
    0

    No problem. Thx for the effort.

  • 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