The above code in essence lets the Joomla! package installer know that there are files to extract, and that they are part of the template.

+

The above code in essence lets the Joomla! package installer know that there are files to extract, and that they are part of the template as a whole.

+

+

==Complex Overrides==

+

Template overrides are almost limitless. They allow you to add, edit, and remove the components of the Joomla! core output.

+

*Note: For the FireFox web browser, an extension is available called [https://addons.mozilla.org/en-US/firefox/addon/1843 Firebug], which is useful for browsing a page's HTML source and matching it up with the PHP used in template overrides.

Detail to follow

Detail to follow

[[Category:Templates]]

[[Category:Templates]]

Revision as of 22:02, 19 January 2008

Page Actively Being Edited!

This article is actively undergoing a major edit for a short while.As a courtesy, please do not edit this page while this message is displayed. The user who added this notice will be listed in the page history. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page. If this page has not been edited for several hours, please remove this template, or replace it with {{underconstruction}} or {{incomplete}}.

The standard output from the Joomla! core can be overridden by adding code to the html directory in a template. Basic overrides include: your_template/html/modules.php (overriding module output) and your_template/html/pagination.php (overriding pagination output); however, it is possible to override the output of any module or component.

Getting A Head-Start with Overrides

Joomla! comes pre-packaged with a frontend template called Beez. Beez utilizes template overrides to produce a table-less layout for faster, smoother, and semantically correct markup. To add the table-less layout to your template, locate your Joomla! installation's template directory, and you'll notice the Beez template. Inside the Beez template directory, copy the folder titled html (the entire directory structure is as follows: your_joomla/templates/Beez/html/) and paste the html folder into your template's main directory. After copying Beez's html folder to your template, you must add the following code to your template's templatedetails.xml file (in between the <files> and </files> tags):