Joomla Template Construction – The Explanation and the XML File

Because of the programming of Joomla, making a format to control the styling and design of your layout can be something that may get to be distinctly important as you advance along the way of your own Joomla site, this is the prior minute disappointment starts. As controlling the many elements of a Joomla format in no simple deed at initial, a Joomla layout comprises of a xml document containing the establishment directions. A CSS styling sheet to deal with the styling of the considerable number of articles, divs, frames and so forth lastly the index.php document. Joomla Themes 

There are numerous different records that might be utilized as a part of for the format however the above rundown shows the center documents required while making a Joomla layout. Presently to talk about how I would by and large begin the programming of a format.

I start with the XML record as this is the document that should contain the guidelines for Joomla to introduce the record, this records can turn into a stock standard duplicate and glue for the formats you develop, in any case if there any records that were utilized as a part of the past layout and not in the new layout you should expel them from the XML document or you will locate a shocking mistake when you attempt to introduce the layout in the backend of Joomla.

Beginning code:

The code beneath must be utilized at the absolute starting point of the layout. As this is expected to approve the code utilized as a part of the record.

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

<!DOCTYPE introduce PUBLIC “-/Joomla! 1.5//DTD format 1.0//EN” “ install.dtd”>

The following area disclose to Joomla what it is introducing.

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

At that point come the subtle elements of the layout

<name>The formats name</name>


<author>Your Name</author>

<authorEmail><a href=””></a></authorEmail>

<authorUrl>Your URL</authorUrl>

<copyright>The Copyright Info</copyright>



<description>The depiction of the Template</description>

The following area discloses to Joomla what documents should be introduced with the format this contains both individual records and also organizers that Joomla will introduce. Every one of the documents utilized for the layout must be recorded if the record is not recorded Joomla won’t introduce the record which may give back a mistake or cause your format to glitch.







This areas discloses to Joomla which positions you are utilizing as a part of this layout, the names for the positions are totally to you. As they are controlled by the file record. So make position names you are alright with and you will utilize consistently, however as I have developed as a developer so has the names and measure of positions I utilize. The underneath recorded positions are standard to Joomla are numerous developers utilize particular positions for particular modules. For instance client 4 is by and large utilized for the inquiry module.














The Final segment is the parameters segment, this is utilized to permit the backend to control certain territories of the format or option hues for the layout. It can likewise be utilized to control the investigation inclusion.



Guarantee that you end the establishment off with the accompanying tag.


This is the very essentials of a Templates XML document, this record contains the guidelines for Joomla when introducing the format to your Joomla site.

The following article will demonstrate what the fundamental development of the file .php record.

Leave a Reply

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