1
EyeKeeper
Menu
  • 2004/3/15 12:35

  • EyeKeeper

  • Quite a regular

  • Posts: 209

  • Since: 2002/6/11


Hi folks,

I created a "mini-module" based on this post:
https://xoops.org/modules/newbb/viewtopic.php?topic_id=14789&forum=10#forumpost60783

and now when I select one of the subitems the page open ok, but the subitens they are hidden... How can I keep them open like in the news, downloads, etc... modules?

2
EyeKeeper
Re: Menu
  • 2004/3/16 17:26

  • EyeKeeper

  • Quite a regular

  • Posts: 209

  • Since: 2002/6/11


nobody has any ideas?

3
Mithrandir
Re: Menu

depends on how you have implemented/coded it.

4
EyeKeeper
Re: Menu
  • 2004/3/17 14:34

  • EyeKeeper

  • Quite a regular

  • Posts: 209

  • Since: 2002/6/11


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...

Login

Who's Online

406 user(s) are online (289 user(s) are browsing Support Forums)


Members: 0


Guests: 406


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits