SmartFAQ由The SmartFactory开发(https://www.smartfactory.ca),InBox Solutions(https://www.inboxsolutions.net)的部门

如何在Xoops中创建自定义HTML首页
一种方法是按照以下方式修改您的"index.php"文件:

/**
 * 如果尚未安装xoops,则重定向到安装
 **/
include "mainfile.php";

//检查是否已定义起始页面
if ( isset($xoopsConfig['startpage']) && $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";
}


在这行之间放置您自己的内容

include "header.php";
(您的内容在这里)
include "footer.php";


评论归作者所有。我们不对其内容负责。


Login

Who's Online

272 user(s) are online (21 user(s) are browsing XOOPS FAQ)


Members: 0


Guests: 272


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Did you know ?

different image types have specific image uses?

Random question

What is the difference between View Account and Edit Account?