1.在template.php中添加函数phptemplate_show_frontpage():
2.在自定义themes目录下创建page-front.tpl.php文件:拷贝page.tpl.php到page-front.tpl.php,将:
替换成:
1.在template.php中添加函数phptemplate_show_frontpage():
2.在自定义themes目录下创建page-front.tpl.php文件:拷贝page.tpl.php到page-front.tpl.php,将:
替换成: