File structure for packaging

From Joomla! Documentation

This page contains changes which are not marked for translation.
Copyedit.png
This Article Needs Your Help

This article is tagged because it NEEDS TECHNICAL REVIEW. You can help the Joomla! Documentation Wiki by contributing to it.
More pages that need help similar to this one are here. NOTE-If you feel the need is satistified, please remove this notice.

Reason: Please verify the directory locations.


The most basic files, such as index.php, component.php, templateDetails.xml, template_thumbnail.png, favicon.ico, params.ini should be placed in your /templates folder. The usual practice is to place images, CSS files, JavaScript files etc. in separate folders. The Joomla override files must be placed in folders in the /templates/<template_name>/html folder.

When making the template folder, your language files should be copied to your /templates folder. The ones for the Frontend site should be placed directly in the template folder. If you have language files for the Backend, these should be placed in a folder, named, for instance, /administrator. All the language files will be copied automatically to the right folders if listed correctly in the templateDetails.xml.