Joomla Template Overrides

"V" of MVC = VIEW (generates output)

Template vs Layout 

TEMPLATE provides structural framework
LAYOUT controls output within template regions (ie module position)

MVC = Model View Controller


Extension Directory Structure of Layout

Joomla_root / components / extension_directory_name / views / view_name / tmpl / layout_file

Component example: httpdocs/components/com_content/views/article/tmpl/default.php

Module example: httpdocs/modules/mod_login/tmpl/default.php


Override Directory Structure of Layout

Joomla_root / your_template / html / extension_directory_name / view_name / layout_file

Component example: httpdocs/templates/protostar/html/com_content/article/default.php

Module example: httpdocs/templates/protostar/html/mod_login/default.php



Extension structure: httpdocs/components/com_content/views/article/tmpl/default_links.php

Override structure: httpdocs/templates/protostar/html/com_content/article/default_links.php


Quick Tutorial -!_core
Detailed Overview -
MVC Overview -

About Helpers:

Copyright © 2007-2014 3by400, Inc. All Rights Reserved

Joomla! is Free Software released under the GNU/GPL License. The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. 3by400 is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Back to Top