24
Quote:
timgno wrote:
In modules for custom icons just add in admin/menu.php as follows:
$adminmenu[$i]["title"] = _MI_MODULENAME_ADMENU1;
$adminmenu[$i]["link"] = "admin/index.php";
$adminmenu[$i]["icon"] = 'madulename_dashboard.png';
but if you want to use the icons in the media folder, as follows:
$adminmenu[$i]["title"] = _MI_MODULENAME_ADMENU1;
$adminmenu[$i]["link"] = "admin/index.php";
$adminmenu[$i]["icon"] = 'dashboard.png';
No need to add more code php of what already exists in the moduleadmin class, for the modules
you can already do that its just
$adminmenu[$i]["title"] = _MI_MODULENAME_ADMENU1;
$adminmenu[$i]["link"] = "admin/index.php";
$adminmenu[$i]["icon"] = 'nameofpic.png';
then it runs the tests
CORE260/media/xoops/images/icons/32 (IF EXIST get from the core)
modules/MODULE/icons/32 (IF EXIST get from MODULE)
but then if it doesnt exist it display an error image when it should have a default xoops icon instead imo.
Some people like what you do,
-- some people hate what you do,
---- but most people simply don’t give a damn.