17
anyways thanks for all your helps. i figured out the include code and got my way around. i dont have to use the freecontents and other modules to include the contents into XOOPS and i can make different blocks to catagorize my links, but then not sure if it's save or not. anyways, here's the code i used if anyone is interested in trying it out
include('mainfile.php');
include('header.php');
$xoopsOption['show_rblock'] = 1;
$page = $_GET['page'];
$ext = ".php";
$email = "your email addy for 404"; //for 404 error purpose
$includepath = "contents/";
$filepath = $includepath.$page.$ext;
if(file_exists($filepath))
{
include($filepath);
} else {
print ("
404Sorry but this page does not exist. Click
here to go back to the main page. If you have any question email the webmaster
here.");
}
include('footer.php');
now i can just customized my own blocks with my own links. i just gotta save that code as a .php file (i saved it as main.php) in the XOOPS folder and create a sub subfolder, in this case contents, and just put all my content files into that folder. then in the customized blocks just used links such as main.php?page=therequestedcontent
here's my site as an example if u want to see what i mean
http://www.gamerz-place.net/xoops/hope this will help some of you guys out.