Class Overrider

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:com
content,view:category,env:site,path:absolute|/home/myuser/publichtml/newclass/view.html.php
option:force,env:site,path:absolute|/home/myuser/public
html/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
Extension Info :

Compatible with Joomla 2.5/3.x/4.x

Extension Data :

  • Latest Version2.0
  • DeveloperWeb-expert.gr
  • Last Updated20231207
  • Date Published20141119
  • TypeFree download
  • Compatibility :
  • Joomla 3.xYes
  • Joomla 4.xYes
  • Joomla 5.xYes
  • Joomla 6.xYes

Find Similar Extensions