How to Make a Template Override?

How to Make a Template Override? Joomla! template overrides was introduced in Joomla 1.5 and it is a great feature that allows you to override the HTML output of a component or module which follows the MVC templating structure.

Template Overrides give us the ability to make layout changes without hacking the extension core files.

How to Make a Template Override?

First of all you need to create a directory named html in your template?s root. After creating your html folder you need to copy a component or module's directory into the HTML directory in the following format:

Following Sample Shows How to Create a Template Override for com_content Component

- yourtemplate
- - html
- - - com_content
- - - - article
- - - - - default.php
Now you can edit default.php to make all your changes.

That is a great way and highly recommended to make changes!

Joomla Template Override is a great feature since Joomla 1.5 and gives us complete control over the HTML output of the code from Joomla!

template override 


Get 85 awesome Joomla themes