2
The following applies If you wish to have a page of HTML content wrapped inside XOOPS without using a content module. This example works if you want the HTML content files to be located in the root of your XOOPS installation. First create a PHP file with the following content using your favorite text editor.
include("mainfile.php");
include("header.php");
$xoopsOption['show_rblock'] = 1; //0 for no right block
?>
//Your HTML Code here (Note: Do not include head and body tags)
include("footer.php");
?>
Then name this file anything you wish and save it with a .php extension, and upload to the root folder of your XOOPS site. The php extension is important, do not save the file with an HTML extension. To call the file in XOOPS you will need to add a link to it, e.g. in a custom block like this.
<a href="http://www.yoursite.com/content.php">My Content Linka>
Save the block in HTML format making sure it is set to be visible and in the position required. Remember to go to System Admin-> Groups and add access permissions for the block.