smartfaq
SmartFAQ is developed by The SmartFactory (http://www.smartfactory.ca), a division of InBox Solutions (http://www.inboxsolutions.net)

How to make a customised html home page in Xoops
Requested and Answered by Carnuke on 2004/12/11 20:23:51 (5762 reads)
One way to do this is to modify your file 'index.php' as follows

/**
 * redirects to installation, if xoops is not installed yet
 **/
include "mainfile.php";

//check if start page is defined
if ( isset($xoopsConfig['startpage']) && $xoopsConfig['startpage'] != "" && $xoopsConfig['startpage'] != "--" ) {
    
header('Location: '.XOOPS_URL.'/modules/'.$xoopsConfig['startpage'].'/');
    exit();
} else {
    
$xoopsOption['show_cblock'] =1;
    include 
"header.php";
    include 
"footer.php";
}


Put your own content between these lines

include "header.php";
(your own content here)
include "footer.php";


The comments are owned by the author. We aren't responsible for their content.