In XOOPS <= 2.6 the core search function allows a module to set the results icon and subdirectory. So, for example the logo could be ./modules/<mymodulename>/images/icons/logo_small.png.
In 2.6 the /modules/system/class/module.php requires a logo to be ./modules/icons/logo_small.png. Should be able to use the same logo file both in SystemModule::getModuleList and in the system search results. This could be accomplished by having the location of the file set to /modules/<mymodulename/images/icons in SystemModule::getModuleList.
It would be preferred to have the /icons directory as a subdirectory of the /modules/<mymodulename>/images/ directory to 'group' the icons with other images.This makes the directory structure more consistent with other images used by the core system module too.
Recommend changing ./modules/system/class/module.php on lines 82 & 83 from '/icons/logo_small.png' to '/images/icons/logo_small.png'.
Yes, everything should have some standards.
icon should be inside images folder.
also i suggest images/icon instead of images/icons. we have plural word "images" and dont need another plural subdirectory.
please read this:
https://docs.google.com/document/pub?id=1L3MoGnCr4EvE3CE1OkSSGPCH-5YSkd-iI9CawmEp-Os
and follow in this topic:
http://xoops.org/modules/newbb/viewtopic.php?post_id=349158
thank you.