1
Hi,
I'm trying to change the name of some of the links int he main menu block on my XOOPS site. I found several previous forum questions on the same topic. They all suggested that I modify the file "modules/system/templates/blocks/system_blocks_mainmenu.html", manually entering in the link to the module (in my case it's the "NewBB 2.0" module.
Then All I'd have to do is to stop that module displaying in the menu via the administration interface.
Well, I modified the file, re-uploaded it to the site..... and nothing happens! I've tried everything from re-generating the blocks from the templates, re-changing them, clearing the browser cache.... now I'm really stuck.
my system_block_mainmenu.html now looks like this:
<table cellspacing="0">
<tr>
<td id="mainmenu">
<a class="menuTop" href="<{$xoops_url}>/"><{$block.lang_home}>a>
[b]<a class="menuTop" href="<{$xoops_url}>/modules/newbb/">Forumsa>[/b]
<{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}>
td>
tr>
table>
Can anyone see anything wrong with this? any advice on how to priceed?
Finally, are there any plans to make modifying the menu entry names any easier? perhaps with a tool in the administration interface?
Thanks.