avatar glawrie Pro Jul 15. 2009. 9:51 am
Grateful if someone could explain how / where a module sets its icon.

Many thanks!
avatar Ilija Studen Staff Jul 15. 2009. 10:03 am
Icons are set in /public/assets/modules/module-name/images. You need to set three icons for each module - icon_big.gif (32x32px), icon_medium.gif (24x24px) and icon_small.gif (16x16px).
avatar Oliver Maksimović Staff Jul 15. 2009. 10:04 am
Each module's assets (images, css, javascript) are stored in a separate directory at /public/assets/modules directory:

/public/assets/modules/[module_name]/images
/public/assets/modules/[module_name]/javascript
/public/assets/modules/[module_name]/stylesheets

The default image for a module should be named as "icon_medium.gif", but you should have all three variations so the system can reach them in case if the other icon sizes needs to be used. Here is the list of icons that each module should have:

icon_small.gif (16x16 px)
icon_medium.gif (24x24 px)
icon_big.gif (32x32 px)

They need to be put at /public/assets/modules/[module_name]/images directory.
activeCollab dev/ tech support
avatar glawrie Pro Jul 15. 2009. 12:46 pm
That's very helpful. Thanks.

One question - is the correct name for the large icon icon_big (Ilija) or icon_large (Oliver)?

Thanks in advance for your help.
avatar Oliver Maksimović Staff Jul 15. 2009. 1:12 pm
Sorry for the confusion, "icon_big.gif" is the correct image name.
activeCollab dev/ tech support