1
pcfabriekje
A link problem
  • 2004/6/23 15:06

  • pcfabriekje

  • Just popping in

  • Posts: 3

  • Since: 2004/6/23


Hi,

I have installed XOOPS for the first time. No problem.But know i have added a link in my menu. I found a simple module for this (hack). These are the files:

Index.php:
// === html/modules/my_main_menu_hack/xoops_version.php ===
// This will be the name of the link
$modversion['name'] = 'Visit The EFF';
// This must be the same as the directory name in which this
// module resides
$modversion['dirname'] = 'hack';
// No admin menu
$modversion['hasAdmin'] = 0;
// We do have a main menu
$modversion['hasMain'] = 1;
// The following three lines make up the sub menu, so you
// may want to omit them
$modversion['sub'][1]['name'] = 'Donate';
$url = 'http' . '://' . 'eff.org/donate/';
$modversion['sub'][1]['url'] = $url;
?>

xoops_versions.php
// === html/modules/my_main_menu_hack/xoops_version.php ===
// This will be the name of the link
$modversion['name'] = 'Visit The EFF';
// This must be the same as the directory name in which this
// module resides
$modversion['dirname'] = 'hack';
// No admin menu
$modversion['hasAdmin'] = 0;
// We do have a main menu
$modversion['hasMain'] = 1;
// The following three lines make up the sub menu, so you
// may want to omit them
$modversion['sub'][1]['name'] = 'Donate';
$url = 'http' . '://' . 'eff.org/donate/';
$modversion['sub'][1]['url'] = $url;
?>

This works fine, but... It opens the links, but my left menu bar is not there. Can someone help me? In short, i want to keep the same layout for every page/link/

Thx
Chris.

Login

Who's Online

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


Members: 0


Guests: 403


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