Dashboard > FarCry 5.0 Developers Guide (Fortress) > ... > webtop Configuration > Inline Webtop Documentation > Icons
Added by Geoff Bowers , last edited by Geoff Bowers on Sep 12, 2008
Labels: 
(None)

Farcry Icons are loaded via a URL call
http://my.farcry.site/webtop/facade/icon.cfm?icon=myComponent.png&size=48&usecustom=true

there is a custom tag for this in./tags/admin

Farcry looks in the following directories for icons

  • <project>/www/wsimages/icons (this is where custom icons should go for projects)
  • <project/www/images/icons (do not use this)
  • <project>/www/<plugin>/wsimages/icons (do not use this)
  • <plugin>/www/wsimages/icons (this is where custom icons should go for plugins)
  • <core>/webtop/icons (don't put custom icons here; its just for core)

It loops through all plugins in reverse order (its the standard cascade order for plugin execution.. ie. the last plugin called in your list is dominant)

It will stop looking once it has found an icon

Within the icon directory are folders named by the icon size
eg /icon/48/myComponent.png
/icon/64/myComponent.png

you need to provide an icon for every size. different areas of farcry leverage different sized icons.
Powered by a free Atlassian Confluence Open Source Project License granted to FarCry CMS. Evaluate Confluence today.
Powered by Atlassian Confluence 2.7, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators