fbpx

Class Overrider plugin

  • Joomla Version: 2.5 3.x 4.x
  • Extension: Plugin
  • Type: Free
  • Price (without Tax): 0.0
  • License: GPL License v2+

This extension was developed for Joomla! Day Greece 2012 presentation for Jooma Greek Community (joomla.gr)

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:com_compon,view:item,env:admin|path_to_new_class.php

Separete query params with commas and values with :

To add many class overrides separate them with new line (enter)

 

Examples:

env:site,option=com_contact,view=contact|myfolder/models/contact.php
option:com_content,view:category,env:site,path:absolute|/home/myuser/public_html/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 onAfterSessionStart,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

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".

Changes from v1.3 to v2.0

Minimum support Joomla 3.9.x up to 4.x
event value added "onAfterSessionStart" (Joomla 4)

 

Περισσότερα σε αυτή την κατηγορία: « Ultimate Site Tools plugin Glami Pixel - Virtuemart »
Rated 5/5 based on 20 customer reviews

Web Hosting

High Speed Servers

Γιατί οι server μας είναι σύγχρονοι, φιλικοί προς το περιβάλλον και σε Ευρωπαϊκό Datacenter

Ασφάλεια

Firewall, antivirus και live exploit scanner που προστατεύουν τα website σας από επιθέσεις.

Επιπλέον Χαρακτηριστικά

Απεριόριστα E-mail, subdomain, parked domains, autoresponders & email forwarders. 3 εφαρμογές ανάγνωσης Web Mail (RoundCube/ Horde/ SquirrelMail)

Γρήγορη Τεχνική Υποστήριξη

Γρήγορη τεχνική υποστήριξη, με μεγάλη γνωσιακή βάση και video tutorials του cPanel.