What are template overrides?
A template override in Joomla! is a way to change how our components look when we access any of their views. What we do when creating a template override is replace a tmpl
file of our component view with our own tmpl
file, without affecting the original tmpl
file. This is usually done by creating a different version of the tmpl
file inside a specific path within our template folder.
When creating a template override in Joomla!, we do not modify the original file, which is a key part of the overrides. This allows a user to modify the design of an extension with an override and ensure that it’s not going to be lost with the next update. This results in users and developers quickly updating their extensions, leading to a more secure platform.
In a template override, we have complete freedom to create whatever output we need to match our design. However, we need to remember that all our changes will only affect how we show the output of that extension...