1
I'm trying to modify the main menu block to show ALL sub-menu items, not just the ones in the current module.
The main menu block uses the following to build the menu:
<!-- start module menu loop -->
<{foreach item=module from=$block.modules}>
<a class="menuMain" href="<{$xoops_url}>/modules/<{$module.directory}>/"><{$module.name}></a>
<{foreach item=sublink from=$module.sublinks}>
<a class="menuSub" href="<{$sublink.url}>"><{$sublink.name}></a>
<{/foreach}>
<{/foreach}>
<!-- end module menu loop -->
Apparently $module.sublinks is only filled out for the current module. Are the other sub-menus available in a different smarty variable, or does this require a code change?