|
Dec 16
2009
|
Joomla templates can be made up of a any number of files and folders, but their standardized structure allows Joomla to treat templates generically. That makes it possible to switch the look- and-feel of a Joomla site by simply selecting an alternate template. As long as a template includes a place for component display and a few typical module positions, it can be used interchangeably with most other templates.
Therefore, you will need to know the folders that hold a template (often the root folder, the css folder, and the images folder) and the minimum files required for proper display (index.php, template.css, and templateDetails.xml). There are also several optional files (parameters.ini and template_thumbnail.png) that make it easier to manage a template. Since you may only have experience with templates from the user side, your study should begin by looking at how the Joomla system organizes each template.
Files and Folders
All user templates installed on a Joomla site are stored in the templates directory, which is located at the root directory of a Joomla site. The templates folder holds a single folder for each template installed on the system. The name of the folder must exactly match the name of the template, and the template system is case-sensitive. For example, the template rhuk_milkyway must be contained in the huk_milkyway folder.