Setting up a directory structure: Difference between revisions
From Joomla! Documentation
case matters |
No edit summary |
||
| Line 1: | Line 1: | ||
To make the most basic template, create a new folder in the "templates" folder. Name this folder after your template i.e. "mynewtemplate". | To make the most basic template, '''create a new folder''' in the ''"templates"'' folder. Name this folder after your template i.e. "mynewtemplate". | ||
Using a text editor (or dedicated | Using a text editor (or dedicated editor such as [[Adobe Dreamweaver]]) '''create the files "index.php", "templateDetails.xml"''' | ||
To keep things organised, make 2 new folders called "images" and "css". Insided the "css" folder create a file called " | To keep things organised, make '''2 new folders called "images" and "css"'''. Insided the "css" folder create a file called "style.css" | ||
This is the most basic practical setup. Theoretically, the css could be missed out but if you place the styling information within your "index.php" it will bloat the size of webpages and give a poor user experience. | This is the most basic practical setup. Theoretically, the css could be missed out but if you place the styling information within your "index.php" it will bloat the size of webpages and give a poor user experience. | ||
Outline of folder and file structure: | |||
* '''mynewtemplate/''' | |||
** <u>css/</u> | |||
*** ''style.css'' | |||
** <u>images/</u> | |||
** ''index.php'' | |||
** ''templateDetails.xml'' | |||
Revision as of 02:32, 16 July 2008
To make the most basic template, create a new folder in the "templates" folder. Name this folder after your template i.e. "mynewtemplate".
Using a text editor (or dedicated editor such as Adobe Dreamweaver) create the files "index.php", "templateDetails.xml"
To keep things organised, make 2 new folders called "images" and "css". Insided the "css" folder create a file called "style.css"
This is the most basic practical setup. Theoretically, the css could be missed out but if you place the styling information within your "index.php" it will bloat the size of webpages and give a poor user experience.
Outline of folder and file structure:
- mynewtemplate/
- css/
- style.css
- images/
- index.php
- templateDetails.xml
- css/