How to override the component mvc from the Joomla! core

NOTICE

This method only works if you install and enable the 3rd party MVC plugin joomla-override found on github – or provide your own equivalent plugin. It is fine for advanced developers – just be aware that this is not part of Joomla! Core code

Summary

There may be times when you need to override the Joomla! MVC Component to add new functionality or to completely customise the component. The MVC component can be completely overridden by using the same class names that are used in the component. This is achieved by loading a system plugin before the component is dispatched by the application.

You can create your own plugin to do this.

Download the complete example here: https://www.yiannistaos.com/files/plg_system_ytoverrides.zip

Share if you like...Share on FacebookTweet about this on TwitterShare on Google+Pin on PinterestShare on TumblrEmail this to someone