Main MenuPopular Pages |
The procedure to include the icons for any module is quite simple. All that must be done is to include 2 new lines in xoops_version.php of the module indicating the path of icons. Just use the system module as an example. $modversion['name'] = _MI_SYSTEM_NAME; $modversion['version'] = 1.02; $modversion['description'] = _MI_SYSTEM_DESC; $modversion['author'] = ""; $modversion['credits'] = "The ImpressCMS Project"; $modversion['help'] = "system.html"; $modversion['license'] = "GPL see LICENSE"; $modversion['official'] = 1; $modversion['image'] = "images/system_slogo.png"; $modversion['dirname'] = "system"; $modversion['iconsmall'] = "images/icon_small.png"; $modversion['iconbig'] = "images/cp.png"; The last 2 lines on the quote indicate the path of the images for icons. Currently the two icons are the following size: icon_small.png = 16 pixels by 16 pixels cp.png = 32 pixels by 32 pixels Adding to an actual moduleExample - wfdownloads
$adminmenu[$i]['title'] = _MI_WFD_BINDEX; $adminmenu[$i]['link'] = "admin/index.php";
$adminmenu[$i]['icon'] = "images/icon_x.png"; where icon_x.png = the image you wish to use for the option. (You can use any filename you wish)
Category: Not Completed Category: Welcome Index Page <[Languages ]> |
SearchTag Cloud |