Topic: Php code to display a html page as a module?
abouha
avatar
Registered User
Registered User
Posts: 1

Posted:
7.May 2006 - 07:22

icon_confused hey everyone,
there use to be a sciptcode as doc. in the download area (script contribution from Serbian friends), it is easy and very helpfull to include a HTML page to be displayed as a module.
Any idea where to find it? or anybody knows the code?
I'll be very gratefull for your help guys!

thank you
HalbrookTech
avatar
Legend
Legend
Posts: 6596

Posted:
7.May 2006 - 08:32

Don't know about that, but there are several other options, such as DynaMOD from http://www.markwest.me.uk the Sections module, to an extent, a module called htmlpages (Which is used for some of the content on PostNuke.com), Pagesetter from http://www.elfisk.dk
Simon
online
avatar
Steering Committee
Steering Committee
Posts: 13427

Posted:
7.May 2006 - 13:51

You're better off with the options Mike mentioned above. If you absolutely must use that file, then the source is:

Code

<?php
include 'includes/pnAPI.php';
pnInit();
include 'header.php';
?>
HTML Here...

<?php
include 'footer.php';
?>


--
Regards,
Simon

itbegins.co.uk - Zikula Consulting

Please read the Support Guide
jmcivor
avatar
Helper
Helper
Posts: 217

Posted:
11.May 2006 - 20:17

poswrap? from what i understand its not exactly fort knox, but does the job nicely

--
Currently installed : PN762

jmcivor.com
jlm@jmcivor.com