Introduction
This extension was developed for Joomla! Day 2012 presentation for Joomla Greek Commnunity
With this extension you can simply OVERRIDE ANY PHP file on your joomla site. No need to loose the code changes after upgrade!
Modify Joomla Core files without worrying about future updates!
Plugin Documentation / Syntax
option:comcompon,view:item,env:admin|pathtonewclass.php
Separete query params with commas and values with :
To add many class overrides separate them with new line (enter)
Changes from v1.2 to v1.3
Version 1.2 uses "compo" parameter for option. Version 1.3+ uses the name of query parameters so "compo" should be replace with "option".
Examples:
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
** Parameters (used as criteria, not present parameters will be ignored)**
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
Class Overrider
- Version:
- 2.0
- Developer:
- Web-expert.gr
- Last updated:
-
Dec 07 2023
11 months ago - Date added:
- Nov 19 2014
- License:
- GPLv2 or later
- Type:
- Free download
- Includes:
- p
- Compatibility:
- J3 J4
Share