1
jimkarvo
Custom Link on Main Menu block
  • 2007/4/20 17:06

  • jimkarvo

  • Not too shy to talk

  • Posts: 169

  • Since: 2005/9/19


How I can add Custom link to Main Menu Block?

-JimKarvo
whttp://www.pc4allgr.com - Greek community for PCs

PC4ALL Admins' Team!

2
jmorris2
Re: Custom Link on Main Menu block
  • 2007/4/20 17:37

  • jmorris2

  • Just popping in

  • Posts: 46

  • Since: 2007/4/17


You'll need to make a copy of the default template set, if you haven't already done so, then you just add the link in your custom template set

Template Set Manager »» custom_template »» Edit template file »» system_block_mainmenu.html

<table cellspacing="0">
  <
tr>
    <
td id="mainmenu">
      <
class="menuTop" href="<{$xoops_url}>/"><{$block.lang_home}>a>
      
      <{foreach 
item=module from=$block.modules}>
      <
class="menuMain" href="<{$xoops_url}>/modules/<{$module.directory}>/"><{$module.name}>a>
        <{foreach 
item=sublink from=$module.sublinks}>
          <
class="menuSub" href="<{$sublink.url}>"><{$sublink.name}>a>
        <{/foreach}>
      <{/foreach}>
      
    td>
  tr>
table>


You can add a link before the main menu loop or after it.
The lights are on... nobody's home

3
stefan88
Re: Custom Link on Main Menu block
  • 2007/4/20 17:38

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

you can find information here:
https://xoops.org/modules/smartfaq/faq.php?faqid=261

or in XOOPS admin - clone your template, set XOOPS to use the cloned one and edit the template from the admin.

..

Login

Who's Online

305 user(s) are online (209 user(s) are browsing Support Forums)


Members: 0


Guests: 305


more...

Donat-O-Meter

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

Latest GitHub Commits