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'.
Log in to post a comment.