4
I have the header file
Quote:
require('../../mainfile.php');
?>
then for the xoops_version.php
I didn't write here the basic stuff about credits, author etc.... 'cause I guess I won't change the main ideia
Quote:
// Menu
$modversion['hasMain'] = 1;
$modversion['sub'][1]['name'] = _MI_AMB_SMNAME1;
$modversion['sub'][1]['url'] = "../../info/ingles.php";
$modversion['sub'][2]['name'] = _MI_AMB_SMNAME2;
$modversion['sub'][2]['url'] = "../../info/alemao.php";
?>
I also have the language files and the index.php
index.php
Quote:
require('header.php');
require(XOOPS_ROOT_PATH.'/header.php');
// Include the page footer
require(XOOPS_ROOT_PATH.'/footer.php');
?>
In fact it opens the sub-items only when the main item is selected... but when i click on one of these sub-items the should keep visible, but they are hidden again... this should only happen if I click on a different main item...
thanks for any help...