2
U must edit xoops_version.php file and find and edit lines:
Quote:
// Menu
$modversion['hasMain'] = 1;
$modversion['sub'][1]['name'] = _MI_NEWS_SMNAME1;
$modversion['sub'][1]['url'] = "submit.php";
$modversion['sub'][2]['name'] = _MI_NEWS_SMNAME2;
$modversion['sub'][2]['url'] = "archive.php";
(there are lines 91 and nexts)
Ok. As U can see there's a menu's structure (tree) for news module.
line 91 decripts those code
line 92 turns on module in the menu (module's index page) as a mainMenu link
lines 93-96 turns on these categories - "submit" and "archive" as a submenus.
If U want to delete or deactivate submenu in that way just change that code into:
Quote:
// Menu
$modversion['hasMain'] = 1;
$modversion['sub'][1]['name'] = _MI_NEWS_SMNAME2;
$modversion['sub'][1]['url'] ="archive.php";
PS after that refresh your news module.
PS PS try using a multiMenu or another link menager for your xoops! it works perfectly
with greatings from Poland