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";