1
Rembane
How do I make a menu?
  • 2004/10/20 15:17

  • Rembane

  • Just popping in

  • Posts: 3

  • Since: 2004/10/20


I'm currently working on a small module (it's my first XOOPS hack).

I've got this code in xoops_version.php:
$modversion['hasMain'] = 1;

This displays the menu option in the main menu, but when I click it, nothing happens!

Shouldn't it display my index.php file?

2
Xtracted
Re: How do I make a menu?
  • 2004/10/20 20:07

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


make sure to:

include "header.php";
include XOOPS_ROOT_PATH.'/header.php';


before your page content, then after that

include_once XOOPS_ROOT_PATH.'/footer.php';


clear templates_c dir and your local browser cache, update the module then reload the page..


Login

Who's Online

408 user(s) are online (295 user(s) are browsing Support Forums)


Members: 0


Guests: 408


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