1
davidtillyer
Adding a link to the MAIN Menu

I want to add a link on the main manu. How do I do this?

in WFChannel you have "Reffer a Friend" I want to add this to the MAIN menu and NOT have it off the sub main menu of "About Us"

DT

2
ackbarr
Re: Adding a link to the MAIN Menu


3
davidtillyer
Re: Adding a link to the MAIN Menu

Thanks for that I have gone to the file it directs me to in the help, and I have added the link and I can see it on the main menu.

the instructions now read:

NOW after your changes, update your system module: The menu template is stored in the database, "updating" changes the old database version to your new one

Q: How do I do this and how do I connect this to a linked page I have on my server?

DT

4
rowdie
Re: Adding a link to the MAIN Menu
  • 2005/4/14 1:09

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


Updating the system module just means going to system admin->modules->system and in the action column click on the update icon.

I don't know what you mean with "connect this to a linked page..." If you are already seeing the link in the menu then there's nothing more to do, is there?

5
davidtillyer
Re: Adding a link to the MAIN Menu

Hi Yes I have done all that and I can see the link in the main menu, but it's linked to the defult site url.

I have a "Reffer a Friend" page on the site which is a link of the WF Channel, I know the url of this and it's this page I want to link to it. How do i do that?

DT

6
Olorin
Re: Adding a link to the MAIN Menu
  • 2005/4/14 11:34

  • Olorin

  • Just popping in

  • Posts: 50

  • Since: 2003/7/5 1


<a class="menuMain" href="<{$xoops_url}>[b]/modules/wfchannel/blahblahblah[/b]">yourtext</a>
Well, I recommend you to install Multimenu, anyway. If you want to make your own "main menu" only, multimenu 1.4 jp-edition is sufficient. If you want to make varied menus, solo's multimenu 1.7 is the one.

7
davidtillyer
Re: Adding a link to the MAIN Menu

Hi Olorin,
Thank you, for that I will look to install the Multimenu at a later date.

But at the moment I will add the link that you have kindly given me below.

Q: Do I add this line the the "System_Block_Mainmenu" file?
with the extention of the file I want it to link to?

DT

8
tjnemez
Re: Adding a link to the MAIN Menu
  • 2005/4/14 15:09

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


Quote:
Do I add this line the the "System_Block_Mainmenu" file?
with the extention of the file I want it to link to?

here is an example:

<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}>
<a class="menuMain" href="<{$xoops_url}>/yourlink">your link text</a>
<!-- end module menu loop -->
</td> </tr>
</table>

9
davidtillyer
Re: Adding a link to the MAIN Menu

Thank you, for your kind help.

Do you know anything about the WFChannel module?

I need help

DT

10
bsoldan
Re: Adding a link to the MAIN Menu
  • 2005/4/20 19:19

  • bsoldan

  • Just popping in

  • Posts: 1

  • Since: 2005/4/20


I have edited the System_Block_Mainmenu File how described in this forum. The menu, however, does not change. What will be the reason? Thanks for help in advance
Best regards