1
animas
Attention! Module Developers...
  • 2005/5/23 7:57

  • animas

  • Quite a regular

  • Posts: 206

  • Since: 2005/1/30


I am only trying to show a different php script/program inside xoops. [Not by using IFRAME]

I created the following files.
xoops_version.php
<?php
$modversion
['name'] = 'NAME';
$modversion['version'] = Version;
$modversion['description'] = 'Description';
$modversion['credits'] = 'Credits';
$modversion['author'] = 'Author';
$modversion['license'] = 'License';
$modversion['official'] = 'yes';
$modversion['image'] = 'images.gif';
$modversion['dirname'] ='name';
?>


Then I added codes in each relevant php files of that program with the following code structure.
<?php
include("../../mainfile.php");
include(
"../../header.php");
?>

...program's codes in relevant php file....

<?php
include("../../footer.php");
?>


Then I installed the module (directory "name") as other modules. It installed successfully.

Now problem is when I browse a page of that module, theme acts wired. Tables are misplaced, layout broken etc. etc.

How to fine tune it?

Thanks.

2
wtravel
Re: Attention! Module Developers...

Probably if your other modules work fine with your theme, the problems are caused by the script you are trying to include.

Can you analyse the result page with a validator like on W3.org?

Martijn

3
animas
Re: Attention! Module Developers...
  • 2005/5/23 13:37

  • animas

  • Quite a regular

  • Posts: 206

  • Since: 2005/1/30


I am testing in my pc using localhost. How do I validate from my pc? There is a file upload option, but which file should I upload?

Thanks.

4
ladon
Re: Attention! Module Developers...
  • 2005/5/23 13:40

  • ladon

  • Quite a regular

  • Posts: 284

  • Since: 2003/10/31


The output generated by the page in question. View source, save as html and upload.

Login

Who's Online

150 user(s) are online (58 user(s) are browsing Support Forums)


Members: 0


Guests: 150


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