How to creat joomla template 3.0 step by step: work with templateDetails.xml

What is templateDetails.xml file

The templateDetails.xml file holds a variety of meta-data used by the Template Manager in installation and maintenance. It is helpful to recognize the different sections of the file. Typically, each section of data is indented to make the file more readable, but this indentation is not necessary.

The templateDetails.xml file is essential. Without it, your template won’t be seen by Joomla!. The file holds key metadata about the template.

The syntax of the file is different for each Joomla version.

Depending on previous tutorial : How to creat joomla template 3.0 step by step: joomla module positions

now open your folder: your_new_template_name and creat new file named templateDetails.xml then open it with your editor add code bellow

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE install PUBLIC "-//Joomla! 2.5//DTD template 1.0//EN" "http://www.joomla.org/xml/dtd/2.5/template-install.dtd">
<extension version="3.0" type="template" client="site">
<name>Your_New_template_name</name>
<version>3.0.0</version>
<creationDate>Fed, 21-2013</creationDate>
<author>Lamvt (vinaora team)</author>
<authorEmail>Lamvt19792003@gmail.com</authorEmail>
<copyright>Copyright (C) 2013 Vinaora team</copyright>
<description>Template for Joomla 3.0 deverloped by Lamvt (Lamvt19792003@gmail.com) - Vinaora team</description>
<files>
<filename>index.php</filename>
<filename>index.html</filename>
<folder>css</folder>
</files>
<positions>
<position>debug</position>
<position>position-2</position>
<position>position-3</position>
<position>position-7</position>
</positions>
<config>
</config>
</extension>

Be Sociable, Share!

One thought on “How to creat joomla template 3.0 step by step: work with templateDetails.xml

Leave a comment