Joomla Template Construction – The Explanation and the XML File

As a result of programming of Joomla, setting up a template to control the styling and layout of your template can be something that may become necessary as you improve along the journey of your own Joomla site, this is the second before frustration begins. Because manipulating the many factors of a Joomla theme in no easy task at first, a Joomla cms template contains an xml file containing the installation manual. A CSS styling piece to handle the style of all objects, divs, varieties and so forth and finally the index. php file. https://www.energizethemes.com

There are many other files that may be used in for website but the above list displays the primary files needed when creating a Joomla template. Today to discuss how We would generally start the programming of a design template.

I commence with the XML file as this is the file that will need to contain the instructions for Joomla cms to install the data file, this files can become an investment standard duplicate and paste for the templates you construct, however if there any data that were found in the previous template and not in the new design template you should have to remove them from the XML data file or you will see a horrible error when you try to install the template in the after sales of Joomla.

Starting away code:

The code below must be used at the particular beginning of the template. As this is had to validate the code utilized in the file.

<?xml version=”1.0″ encoding=”utf-8″?>

<!DOCTYPE install PUBLIC “-//Joomla! 1.5//DTD template 1.0//EN” “http://www.joomla.org/xml/dtd/1.5/template-install.dtd”>

The next section tell Joomla what it is installing.

<install version=”1.5″ type=”template”>

In that case come the details of website

<name> The web templates name </name>

<creationDate> 22/04/2011 </creationDate>

<author> Your Brand </author>

<authorEmail> <a href=”mailto:example@example.com”> example@example. com </a> </authorEmail>

<authorUrl> Your WEB ADDRESS </authorUrl>

<copyright> The Copyright Info </copyright>

<license> GNU/GPL </license>

<version> 1. zero </version>

<description> The description of the Template </description>
Another section tells Joomla what documents need to be installed with the template this contains both individual data files as well as files that Joomla will mount. All the files used for the template must be listed if the file is not shown Joomla will not mount the file which may return an error or cause your template not working.

Leave a Reply

Your email address will not be published. Required fields are marked *