Actions

Difference between revisions of "What is the typical template directory structure?"

From Joomla! Documentation

(New page: A typical template for Joomla! 1.5 will include the following directories: {{:Typical template directory structure}} <noinclude>Category:TemplatesCategory:Definition lists[[Catego...)
 
Line 1: Line 1:
 
A typical template for Joomla! 1.5 will include the following directories:
 
A typical template for Joomla! 1.5 will include the following directories:
{{:Typical template directory structure}}
+
: {{:Typical template directory structure}}<noinclude>[[Category:Templates]][[Category:Definition lists]][[Category:Beginners]]</noinclude>
 
+
<noinclude>[[Category:Templates]][[Category:Definition lists]][[Category:Beginners]]</noinclude>
+

Revision as of 10:52, 19 February 2008

A typical template for Joomla! 1.5 will include the following directories:

A typical template for Joomla! will include the following directories:
  • css - contains all the .css files
  • html - contains template override files for core output and module chrome
  • images - contains all images used by the template
  • language - contains additional language files used by the template

Depending on the complexity and design of the template is may also contain:

  • javascript - contains supporting JavaScript used by the template for added functionality

Example structure with files

Typical path of a template is <root>/public_html/domain-name/template/<name of your template> which will contain the following directories and files based on your template.

/css
/html
/images
/javascript
/language
component.php
error.php
favicon.ico
index.php
templateDetails.xml
template_preview.png
template_thumbnail.png