1
nicge
Simple new module question
  • 2004/1/26 3:16

  • nicge

  • Just popping in

  • Posts: 4

  • Since: 2003/12/18


Hi all,

I installed XOOPS on my web server and it works like a charm.

I dit a little module to include 3 of my html page on the web site.

The first page (the main one of the module) can be seen. I defined it in xoops_version.php as

$modversion['template'][1]['file'] = 'myPageOne.html';
(I use mydownload as an example)

The problem is that this page refers to the two others with a simple href.

I'm not an expert on web programming, but it is easy to change my href 'html syntax' to permit to load myPageTwo.html and myPageThree.html from myPageOne.html which is the main page of my module.

Thanks a lot
Nic

2
karuna
Re: Simple new module question
  • 2004/1/26 5:47

  • karuna

  • Not too shy to talk

  • Posts: 171

  • Since: 2002/5/29


I don't know whether this file is correct, but it works.


<?php
// Any copyright notice, instructions, etc...
$modversion['name'] = _MI_GUIDE_NAME;
$modversion['version'] = 1.0;
$modversion['description'] = _MI_GUIDE_DESC;
$modversion['credits'] = 'CrazyArcade';
$modversion['author'] = 'CrazyArcade';
$modversion['license'] = 'GPL see LICENSE';
$modversion['official'] = 0;
$modversion['image'] = 'images/guide_logo.gif';
$modversion['dirname'] = 'guide';

// Admin
$modversion['hasAdmin'] = 0;


// Menu
$modversion['hasMain'] = 1;
$modversion['sub'][1]['name'] = _MI_GUIDE_SUBMENU1;
$modversion['sub'][1]['url'] = "index.php";
$modversion['sub'][2]['name'] = _MI_GUIDE_SUBMENU2;
$modversion['sub'][2]['url'] = "char.php";
$modversion['sub'][3]['name'] = _MI_GUIDE_SUBMENU3;
$modversion['sub'][3]['url'] = "item.php";
$modversion['sub'][4]['name'] = _MI_GUIDE_SUBMENU4;
$modversion['sub'][4]['url'] = "map.php";
$modversion['sub'][5]['name'] = _MI_GUIDE_SUBMENU5;
$modversion['sub'][5]['url'] = "down.php";


?>

Login

Who's Online

252 user(s) are online (179 user(s) are browsing Support Forums)


Members: 0


Guests: 252


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits