Difference between revisions of "File structure for packaging"

From Joomla! Documentation

m
(Several markup changes. Added technical review tag. Changes for Words2Watch compliance.)
 
Line 1: Line 1:
 +
{{review|technical|Please verify the directory locations.}}
 +
<noinclude><languages /></noinclude>
 
<translate>
 
<translate>
The most basic files, such as index.php, component.php, templateDetails.xml, template_thumbnail.png, favicon.ico, params.ini should be placed directly in your template folder. The most common is to place images, CSS files, JavaScript files etc in separate folders. Joomla override files must be placed in folders in the folder "html".
+
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.
 
</translate>
 
</translate>
  
 
<translate>
 
<translate>
When making the template folder, your language files should be copied to your template folder. The ones for the front end site should be placed directly in the template folder. If you have language files for the back end, these should be placed in a folder, named for instance "admin". All the language files will be copied automatically to the right folders if stated correctly in the templateDetails.xml.
+
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''.
 
</translate>
 
</translate>
  
 +
<noinclude>
 
<translate>
 
<translate>
 
[[Category:Tutorials]][[Category:Template Development]]
 
[[Category:Tutorials]][[Category:Template Development]]
 
</translate>
 
</translate>
 +
</noinclude>

Latest revision as of 10:51, 28 November 2022

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.