1
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.