1
THCowboy
Adding link to main menu
  • 2005/7/7 5:29

  • THCowboy

  • Just popping in

  • Posts: 84

  • Since: 2005/6/28


I have read instructions on how to add links to the main menu and yet I cannot get the links to show. Below is the template for the main menu.
-----------------------------------------------------------

<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>

-----------------------------------------------------------

After <!-- end module menu loop -->

I tried both

<a class="menuMain" href="<{$xoops_url}>/advertising/file.php">Advertising</a>

and
<a class="menuMain" href="/advertising/file.php">Advertising</a>

neither of them created a link. Anybody know
why? Thanks, Warren

2
hervet
Re: Adding link to main menu
  • 2005/7/7 10:58

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Have you updated the system module as it is written here :
https://xoops.org/modules/smartfaq/faq.php?faqid=261

3
THCowboy
Re: Adding link to main menu
  • 2005/7/8 0:55

  • THCowboy

  • Just popping in

  • Posts: 84

  • Since: 2005/6/28


I have now, I guess some modules you do an update where as others you dont? Anyhow thanks for pointing it out to me, it take me a while to figure out what exactly an update was...

Still Learning!

Warren

Login

Who's Online

162 user(s) are online (99 user(s) are browsing Support Forums)


Members: 0


Guests: 162


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