1
I created 4 custom modules using the following in the index.php of each folder
Quote:
include("../../mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
$xoopsOption['show_rblock'] = 1;
?>include(XOOPS_ROOT_PATH."/footer.php");
?>
and I want custom1 to be the main menu link and the others be sub menus. I have the following in module custom1 xoops_version.php
Quote:
// Menu/Sub Menu
$modversion['hasMain'] = 1;//make 0 to not have this appear in main menu
$modversion['sub'][1]['name'] =Sub Name;
$modversion['sub'][1]['url'] = "../custom3/";
The other modules hasMain is set to 0. It works fine on the page and the submenus display as should and each returns it's linked page but.... when a sub menu is clicked and page displayed, the submenus go away.
I want the menus to remain as other modules' sub menus work. What should I do to make them stay.
I know about Multimenu and WFchannel but they won't achieve what I want.