1
eDwerD
main menu
  • 2004/9/8 3:12

  • eDwerD

  • Just popping in

  • Posts: 23

  • Since: 2004/3/17


im not sure if this is the right place to post this or not, but id like to add a link into the main menu, can anyone point me to info on how to do this? thanks in advance

2
tjnemez
Re: main menu
  • 2004/9/8 9:14

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


you could edit your system_block_mainmenu.html

<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=" <{$xoops_url}>/modules/.....">your text</a>
</td> </tr>
</table>

or you could create a custom block:

there is different solutions, but this one is simple and works for me.

<div class="blockContent">
<table cellspacing="0" width="100%">
<tr>
<td id="mainmenu">
<a class="menuTop" href="yoursite.com/">text</a>
<!-- start module menu loop -->
<a class="menuMain" href="yoursite.com/">text</a>
<!-- end module menu loop -->
</td>
</tr>
</table></div>

this will have the same style as your main menu. to add more links just add: <a class="menuMain" href="yoursite.com/">text</a>

Login

Who's Online

225 user(s) are online (173 user(s) are browsing Support Forums)


Members: 0


Guests: 225


more...

Donat-O-Meter

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

Latest GitHub Commits