| Topic: | Php code to display a html page as a module? |
|---|---|
|
abouha
Registered User
Posts: 1 Posted: |
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
Legend
Posts: 6596 Posted: |
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 Steering Committee
Posts: 13427 Posted: |
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
Helper
Posts: 217 Posted: |
poswrap? from what i understand its not exactly fort knox, but does the job nicely -- Currently installed : PN762 jmcivor.com jlm@jmcivor.com |