2
Hi,
I have tried to integrate the main menu into my template as default horizontal menu.
i used the same code as that of mainmenu in default template set
<div style="float: right; width: 100%">
<ul id="cssmenu">
<li><a href="<{$xoops_url}>/" id="menu1" title="<{$block.lang_home}>"><{$block.lang_home}>a>li>
<{foreach item=module from=$block.modules}>
<li class="havechild"> <a href="<{$xoops_url}>/modules/<{$module.directory}>/" id="menu-<{$module.name}>"><{$module.name}>a>
<ul>
<{foreach item=sublink from=$module.sublinks}>
<li > <a href="<{$sublink.url}>" id="menu-<{$sublink.name}>"><{$sublink.name}>a>li>
<{/foreach}>
ul>
li>
<{/foreach}>
ul>
div>
Things came up very nice, now i wanted to disable the the main menu from showing up in any blocks, so i marked the mainmenu block as disabled. This resulted in disabling my custom code of menu in theme too...:(
So i want to know how can i disable the main menu showing up in any of the blocks, yet it is should be active so that i can see its results in custom horizontal menu.
This is how it looks like now
Any help would be appreciated.
Thanks
Vinit