Hi JM,
What is the purpose of put the htmls into mypage? I have done what you said and now I am getting this error
I used your index.php
invocation of :
http://credata.creforum.info/modules/mainlink/results:
Fatal error: Call to a member function on a non-object in /home/twkinc/public_html/credata/header.php on line 112
Here is my xoops_version.php, "mainlink" is where I installed the mypage files:
$modversion['name'] = "Main Links";//mainlink
$modversion['version'] = 1.01;
$modversion['description'] = "Static Main Links Page";
$modversion['author'] = "";
$modversion['credits'] = "";
$modversion['help'] = "";
$modversion['license'] = "GPL see LICENSE";
$modversion['official'] = 0;
$modversion['image'] = "admin.png";
$modversion['dirname'] = "mainlinks";//mainlink
// Admin things
$modversion['hasAdmin'] = 0;
$modversion['adminpath'] = "";
// Menu
// Menu for submenus in main menu when page loads
$modversion['hasMain'] = 0;//0 to remove from main menu
// $modversion['sub'][1]['name'] = _MI_MYPAGE_SMNAME1;//define in language/english/global.php
// $modversion['sub'][1]['url'] = "../../modules/ipboard/";
// $modversion['sub'][2]['name'] = _MI_MYPAGE_SMNAME2;//define in language/english/global.php
// $modversion['sub'][2]['url'] = "../../modules/weblog/";
?>
Sorry, not an php programmer. note: creforum.info is my test site.
Thanks.