TitaNs wrote:
help me?
Did that fix your problem or were you still unable to complete the installation?
TitaNs wrote:
help me?
maseal_s wrote:
The only answer i've find is to hack core files.
It is not a solution
densma wrote:
how can i add external link on main menu navigation?
<?php
// === html/modules/my_main_menu_hack/index.php ===
include 'mainfile.php';
// This is just to get past the automatic URL recognition
// when I posted it to this forum
$url = 'http' . '://' . 'eff.org/';
// Redirect the browser to the desired location
header('Location: ' . $url);
?>
<?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'] = 'my_main_menu_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;
?>