Template Folder Structure
The template folder structure and the main template file (index.php) form the “skeleton” of visual presentation of your website content much like the Menu Manager forms the structure for the information. This single page will be the framework that all your content loads into.
Joomla has a very specific folder structure for templates. The template folder itself is usually named according to the name of the template and contains the following folders and files:
- css
The folder that contains the site css files.
- html
The folder that contains any template overrides. See Template Overrides (MVC) in Chapter 11 for information on how overrides work.
- images
The folder where your template images are kept. This is not for images that are used elsewhere on your site. See Chapter 13 for how and when to use the Media Manager.
- index.php
This is your main template file.
- params.ini
This is where your template parameters are stored. See Template Parameters in Chapter 11 for details on how parameters work.
- template_thumbnail.png
This is a small preview image of your site template design (usually a screenshot of your site reduced down to 200px wide and 150px tall) and can be a JPG, GIF, or PNG.
- templateDetails.xml
This is where your template parameters are stored. See Template Parameters in Chapter 11 for details on how parameters work.
- favicon.ico
This is a small favicon image that displays in the browser’s URL bar. You can find many resources on the Internet with information on how to create ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access