1
Martle
Link to HTML in main menu
  • 2005/3/18 15:00

  • Martle

  • Just popping in

  • Posts: 27

  • Since: 2004/6/9 7


Hi

I would dearly love to place a link in the Main Menu of my XOOPS site to an HTML document. Is there any way that this could be done?

Martin's Place

Thanx in advance

2
tjnemez
Re: Link to HTML in main menu
  • 2005/3/18 16:01

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


edit your system_block_mainmenu.html template and add link as in example below (bold)






this is assuming you have cloned your templates so that they can be edited. and, have added a static content page

if you need help on cloning your templates see this:

http://www.dcdezines.ca/articles-article.articleID-7.htm

to add static content create a php file myhtml.php or whatever:

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

3
Martle
Re: Link to HTML in main menu
  • 2005/3/18 16:35

  • Martle

  • Just popping in

  • Posts: 27

  • Since: 2004/6/9 7


Thanx for the prompt reply tjnemez.

Login

Who's Online

166 user(s) are online (105 user(s) are browsing Support Forums)


Members: 0


Guests: 166


more...

Donat-O-Meter

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

Latest GitHub Commits