1
I'm wanting to create HTML pages, but have it look like the XOOPS pages.. basically I want it to look like my theme but blank in the middle for text to go to.
I tried this:
<?php
include("path/to/mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
?>
The content of your original html file goes here!!
<?php
include(XOOPS_ROOT_PATH."/footer.php");
?>
But it didn't work.
The link is:
http://www.root32labs.com/lol.phpAs you can see, it's giving errors.
It may be due to me not knowing exactly where to put these tags... eg; is it:
include("http://www.root32labs.com/mainfile.php") (which is where it is located)? is that the format I place it in?
where the commas are is confusing me.
I'm trying like this:
<?php
include("http://www.root32labs.com/mainfile.php");
include(http://www.root32labs.com."/header.php");
?>
The content of your original html file goes here!!
<?php
include(http://www.root32labs.com."/footer.php");
?>
I'm using the 4thefort theme.
Cheers.