1
davidtillyer
Adding links to MAIN Menu

Hi all,

How do I add clickable links to the "main" or ANY other menu I have on my site?

Then how do i connect that to a page on my site or an external page?

DT

2
sbkiller
Re: Adding links to MAIN Menu
  • 2005/3/31 1:03

  • sbkiller

  • Just can't stay away

  • Posts: 461

  • Since: 2004/6/9 2


First of all, you can use multimenu module to add links and unfortunaly you have to link to other pages manually knowing the links (URL).

My comment, XOOPS is missing this thing and this is also one of the reason that I don't use XOOPS anymore. :)

3
tjnemez
Re: Adding links to MAIN Menu
  • 2005/3/31 2:08

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


not sure what the previous post is about but, to simply add to main menu you will need to edit your system_block_mainmenu.html template to look like this:






the bold would be what you add and add as many as you like

4
davidtillyer
Re: Adding links to MAIN Menu

Hi Thank you, for the kind advise, how do i then link it to a file, eg: "Company Histor" and then would I add this file page to the root directory? and what format is best HTML ot PHP?

DT

5
tjnemez
Re: Adding links to MAIN Menu
  • 2005/3/31 15:25

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


you could add a static page like this:

include("mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
$xoopsOption['show_rblock'] = 0;
?>



ABOUT MY SITE





include(XOOPS_ROOT_PATH.'/footer.php');
?>

save this as about.php or whatever and upload to XOOPS root directory

add a link as indicated in my prior post

Login

Who's Online

506 user(s) are online (109 user(s) are browsing Support Forums)


Members: 0


Guests: 506


more...

Donat-O-Meter

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

Latest GitHub Commits