简介
此扩展是为2012年Joomla! Day演示为Joomla希腊社区开发的
使用此扩展,您可以简单地覆盖您Joomla网站上任何PHP文件。升级后无需丢失代码更改!
修改Joomla核心文件而无需担心未来的更新!
插件文档/语法
option:comcompon,view:item,env:admin|pathtonewclass.php
使用逗号分隔查询参数,使用空格分隔值
要添加多个类覆盖,请使用新行(换行符)分隔
v1.2到v1.3的更改
版本1.2使用"compo"参数用于option。版本1.3+使用查询参数的名称,因此"compo"应替换为"option"。
示例
env:site,option=comcontact,view=contact|myfolder/models/contact.php
option:comcontent,view:category,env:site,path:absolute|/home/myuser/publichtml/newclass/view.html.php
option:force,env:site,path:absolute|/home/myuser/publichtml/newclass/library/lib.php
**参数(用作标准,不存在的参数将被忽略)**
env = Possible values site/admin/both. To load only FrontEnd or Backend. Default: site
event = Possible values onAfterRoute,onAfterInitialise. Default:onAfterRoute . If you are trying to override a more generic file like a library, try to use onAfterInitialise
option= Loads the file on certain component or use "option:force" to load it everywhere on Joomla Site
view =Limit class loading to certain view.It's optional parameter. Default: null
task = Limit class loading to certain task.It's optional parameter. Default: null
controller = Limit class loading to certain controller.It's optional parameter. Default: null
path:absolute = Set this parameter if you want to add write the absolute file path
You can use ANY param on v1.3+. For example Itemid:123 it will load the class on specific menu
类覆盖器
- 版本
- 2.0
- 开发者
- Web-expert.gr
- 最后更新
- 2023 年 12 月 07 日
9 个月前 - 添加日期
- 2014 年 11 月 19 日
- 许可
- GPLv2 或更高版本
- 类型
- 免费下载
- 包括
- p
- 兼容性
- J3 J4
使用 Joomla! 更新系统
分享