2
Hi all,
I have been researching this very hard because I really need a solution soon and have found some weird things.
According to the FAQ system_blocks_mainmenu.html is supposed to look like this:
le="color: #000000"><?php <table cellspacing="0"> <tr> <td id="mainmenu"> <a class="menuTop" href="<{$xoops_url}>/"><{$block.lang_home}></a> <!-- 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 --> </td> </tr> </table>
Mine looks like this:
le="color: #000000"><?php <div id="mainmenu"> <a class="menuTop <{if !$block.nothome}>maincurrent<{/if}>" href="<{xoAppUrl }>" title="<{$block.lang_home}>"><{$block.lang_home}></a> <!-- start module menu loop --> <{foreach item=module from=$block.modules}> <a class="menuMain <{if $module.highlight}>maincurrent<{/if}>" href="<{$xoops_url}>/modules/<{$module.directory}>/" title="<{$module.name}>"><{$module.name}></a> <{foreach item=sublink from=$module.sublinks}> <a class="menuSub" href="<{$sublink.url}>" title="<{$sublink.name}>"><{$sublink.name}></a> <{/foreach}> <{/foreach}> <!-- end module menu loop --> </div>
Both seem to work, but I can't add links to either of them. I have been updating the system module, clearing the cache etc but I can't make this work.
Anybody have any ideas?
Thanks,
Tim