Every Template maintain some structure while designing according to joomla .Joomla made some conditions regarding this
Contents
templateDetails.xml: it is a xml file which contains all the details about template like Template name , description,author,file names which contains while installing template this details helps to install the template details .every template must include templateDetails.xml file
after installing template not recommended to change the values in xml file .
Images(folder): it contains all the image files which are use full for designing the template
CSS: this folder contains all the styles for template.
[b]template_thumbnail.png:[b] it is used to display the thumbnail view of the template ..we find this view in template manager on mouse over the templates.
index.php: it contains all the template design code . The backend support for designing the template is php.
Mostly every page starts with:
the above code prevents direct accesing through saved links ...the user page will not be displayed directly by links to load plugins into the template JPlugin class is used . LoadLanguage is a method in the Jplugin class .which is used to load the language packs.
: we use above link to embedd the style sheet
:Used to include module of specific type... for above example it is head type .which is include in head tag
:used to include type modules like menus... etc.. by using specific positions .positions declared with an variable name...
Contents
templateDetails.xml: it is a xml file which contains all the details about template like Template name , description,author,file names which contains while installing template this details helps to install the template details .every template must include templateDetails.xml file
after installing template not recommended to change the values in xml file .
Images(folder): it contains all the image files which are use full for designing the template
CSS: this folder contains all the styles for template.
[b]template_thumbnail.png:[b] it is used to display the thumbnail view of the template ..we find this view in template manager on mouse over the templates.
index.php: it contains all the template design code . The backend support for designing the template is php.
Mostly every page starts with:
| Code: |
defined( '_JEXEC' ) or die( 'Restricted access' );
|
the above code prevents direct accesing through saved links ...the user page will not be displayed directly by links to load plugins into the template JPlugin class is used . LoadLanguage is a method in the Jplugin class .which is used to load the language packs.
| Code: |
<link rel="stylesheet" href="templates/system/css/system.css" type="text/css" /> |
: we use above link to embedd the style sheet
| Code: |
|
:Used to include module of specific type... for above example it is head type .which is include in head tag
| Code: |
|
:used to include type modules like menus... etc.. by using specific positions .positions declared with an variable name...
Comments