Joomla!-开源天空

2008-09-08
首页 专栏热点 Joomla! 应用 Joomla!系统默认模板中的error pages


Joomla!系统默认模板中的error pages

E-mail

默认情况下,Joomla!用户发生错误时候使用一个特定的系统模板报错页面,这些页面在templates/system目录中,error page的名称是根据HTTP的错误号命名的,以下是系统默认的报错页面:

templates/system/403.php (Status code: 403 Forbidden) 
templates/system/404.php (Status code: 404 Not Found)
templates/system/500.php (Status code: 500 Internal Server Error)

这些错误号在HTTP协议RFC2616中定义,更详细的关于HTTP协议信息请参考
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

这些error page的样式表可以修改以下这些:

errorboxheader
errorboxbody
techinfo

templates/system/目录下还有以下的error page
templates/system/component.php (not sure when this is used)
templates/system/offline.php 站点不在线时候的提示信息

注意: jdoc:include elements 不能在error pages 中使用
原文地址:http://docs.joomla.org/System_error_pages

相关文章:
youjoomla.com发布的一款Joomla!1.5免费模板social bug
joomla 1.0系列的免费模板
Happiness - A Free Joomla 1.5 Template from TemplateJoomla!
olyra模板的问题 user3模块位置显示
来自templateplazza的免费模板
新增两款Joomla! 1.5模板下载
一款还没有开发完的模板,但是挺酷的
Joomla! 1.5 模板开发step by step(九) 创建一个实际模板
Joomla! 1.5 模板开发step by step(八) 隐藏列
Joomla! 1.5 模板开发step by step(七) 菜单处理

发表您的文章评论

您的姓名 (昵称)
标题:
评分: 很差一般较好很好
评论:
验证码:
请输入验证码