1
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!