1
whereray
Sub Menu Item Disapeared?!
  • 2004/5/18 8:38

  • whereray

  • Just popping in

  • Posts: 29

  • Since: 2003/4/16


I find that a sub menu item is only shown when the url requested is the 1st level of a module folder. For anything in a sub folder, the sub menu item is gone. It seems XOOPS could only recognize "flat" module folders.

For example, when I put the following in xoops_version.php:
$modversion['hasMain'] = 1;
$modversion['sub'][1]['name'] = "Australia";
$modversion['sub'][1]['url'] = "au";

and put a "au.htm" in folder /modules/country, a copy of "au.htm" in /modules/, the sub menu item "Australia" only apears when "http://localhost/modules/au.htm" is used.

Can anyone tell me how to make sub menu abailable when a sub folder is used? THanks!

2
Mithrandir
Re: Sub Menu Item Disapeared?!

$modversion['sub'][1]['url'] = "country/au.htm";

Login

Who's Online

146 user(s) are online (70 user(s) are browsing Support Forums)


Members: 0


Guests: 146


more...

Donat-O-Meter

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

Latest GitHub Commits