3
it's easy
Edit the xoops_version.php file and search this :
// Menu
global $xoopsUser;
$modversion['hasMain'] = 1;
if ($xoopsUser) {
$modversion['sub'][1]['name'] = _MI_XDIR_SMNAME1;
$modversion['sub'][1]['url'] = "submit.php";
}
$modversion['sub'][2]['name'] = _MI_XDIR_SMNAME2;
$modversion['sub'][2]['url'] = "topten.php?hit=1";
$modversion['sub'][3]['name'] = _MI_XDIR_SMNAME3;
$modversion['sub'][3]['url'] = "topten.php?rate=1";
$modversion['sub'][4]['name'] = _MI_XDIR_SMNAME4;
$modversion['sub'][4]['url'] = "savings.php";
if ($xoopsUser) {
$modversion['sub'][5]['name'] = _MI_XDIR_SMNAME5;
$modversion['sub'][5]['url'] = "mylistings.php";
}
To hide a line it is enough to put the line concerned in comment by prefixing it with the // characters.
To know the correspondence of the links, the answer is in the file language modinfo.php
// Sub menu titles
define("_MI_XDIR_SMNAME1","Submit");
define("_MI_XDIR_SMNAME2","Popular");
define("_MI_XDIR_SMNAME3","Top Rated");
define("_MI_XDIR_SMNAME4","Special Offers");
define("_MI_XDIR_SMNAME5","My Listings");
After modifications, you must update the module.