Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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.

  • No labels