1
pessi
Editing Menu template.
  • 2004/10/6 16:49

  • pessi

  • Quite a regular

  • Posts: 204

  • Since: 2004/5/16


hi all

in the template files i edited "system_block_mainmenu.html"
to add a new menu item.

<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 -->
<a class="menuMain" href="/ourschool.php">Our School</a>
</td>
</tr>
</table>

This adds a menu item "our School" BUT it adds the menu item at the end. I want it as the 3rd item in the main menu.

Can i somehow put it in the menu loop?


thanks in adavnce,
prasad..

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits