InMotion Hosting Support Center

screenshot-of-example-templateDetailsThe last thing we need to do before we can install the Joomla 3.0 template that we are creating is to create a templateDetails.xml file. This file holds various details about the template, such as who wrote it and when. It can also contain configuration settings for the template that the user can modify, such as background colors and font sizes. As we are creating a very basic template, our templateDetails.xml will be very basic as well - at this time we will not be showing you everything you can do within this file.

Example templateDetails.xml file

Setting up a templateDetails.xml file is very straight forward because the file is easy to understand. For example, if you see <creationDate>10/04/2012</creationDate> within the file, you can safely assume that this is the date that the template was created. We are adding the following code to a file named templateDetails.xml in the root of our template files (see screenshot above).

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE install PUBLIC "-//Joomla! 2.5//DTD template 1.0//EN" "">
<extension version="3.0" type="template" client="site">
  <name>Basic Joomla 3.0 Template</name>
  <author>InMotion Hosting</author>
  <copyright>Copyright (C) 2012 InMotion Hosting</copyright>
  <description>A very basic template for Joomla 3.0</description>
Was this article helpful?
You are viewing Section 3: Adding a templateDetails.xml file to a Joomla 3.1 Template
Section 2: How to add module positions to a Joomla 3.1 template
Section 4: How to zip a Joomla 3.1 template

Joomla Community Google+ Hangout #3

June 3rd, 2014

Thank you @RustyJoomla for letting me speak on the Joomla Community Google+ Hangout!

Click here to watch!

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

n/a Points
2015-05-22 5:55 am

I have a template done that gets worked on quite a bit. I read somewhere that there is a way in template details to tell it to update rather then install so that as we change it ... is overwrites it. I forgot where though...Do you know? Because just installing it and having it install if you don't have it and update if you do is MUCH faster then set new default template, delete old version, install new version, change it to default, then re setup parameters :(

31,035 Points
2015-05-26 1:26 pm
Hello Eric,

Thank you for contacting us. We are happy to help, but we are not familiar with what you are trying to accomplish. Please provide additional information, or links.

Thank you,
n/a Points
2015-05-26 10:53 pm

I found it and - like most of Joomla it is an undocumented feature.

<extension version="3.0" type="template" client="site" method="upgrade">

There. No need to redo template parameters. No need to remove your template from default, install the new version, then restore it to default. simply backup your custom.css, install the updated template, and paste it back in or copy it back in - whichever. Much much faster ;)

n/a Points
2014-12-07 10:37 am

I implemented it in my Looksmart Template and the new position didn't show up. Any idea what could go wrong?


43,761 Points
2014-12-08 3:42 pm
Hello Marta,

That would depend on how you set it up. As I cannot see your code I am unable to take a guess at what it is.

Kindest Regards,
Scott M
n/a Points
2014-11-20 2:28 am

una consulta descargue una plantilla html5 que contiene las sgtes carpetas:

bat, css, images, fonts, js, y archivos index.html (5)

como hago para instalar esta plantilla en joomla 3

Translated by Google: a query download a html5 template that contains folders ff : bat , css, images , fonts , js , and index.html files (5) as I install this template in joomla 3

31,035 Points
2014-11-20 10:27 am
Hello cesar,

Thank you for contacting us. We are happy to to help, but are not exactly sure what you are asking.

Please reply with more information, or a link to the error so we can view and test the problem.

Thank you,
n/a Points
2014-05-07 9:30 am



it looks like the dtd url is wrong. 404 Error.

11,186 Points
2014-05-07 10:06 am
It appears that Joomla is not currently hosting the files as they used to in which it is causing a 404 due to the files missing on their servers. You may simply remove the reference to the DTD file as it will not affect the installation of this template.
5,399 Points
2014-05-07 10:52 am
Hi @Guillaume,

According to <a href='!_template' target='_blank'>Joomla's documentation</a>, the <strong>&lt;!DOCTYPE install</strong> was required for Joomla 1.5 templates, but not for 2.5 templates and later.

We did some testing and confirmed that this line is no longer needed. If you delete the line starting with <strong>&lt;!DOCTYPE install</strong> in your <em>templateDetails.xml</em> file and try to install <a href='/support/edu/joomla-3/create-template'>the template</a>, it installs successfully.
n/a Points
2014-05-03 7:11 am

Hi James,

This is mohan kumar. i am new in joomla so please help me in this.

what are the entire procedure to add our own css and complete pages of our project to joomla3.3.

41,441 Points
2014-05-05 2:22 pm
Hello Mohan Kumar,

Thanks for the question. Your question is pretty broad, but we do have a tutorial called How to add CSS and JavaScript files to a Joomla 3.1 Template . This is part of a series of tutorials from our Joomla section called 208: Building a Basic Joomla 3 Template with Bootstrap. Hopefully, the tutorials provided in this series provides the information that you require.

Arnel C.
2013-04-23 12:43 am
you don't have to be sorry... :) I was just curious.... thanks for the prompt response.
5,889 Points
2013-04-22 10:05 am
Thank you for your comment. Because 3.0 is only a development stage we have the stable version in the doc type. We recommend waiting for the 3.5 version of Joomla. Unfortunately, we do not have a 3.0 url you can use. Sorry for this.

James R
2013-04-22 2:50 am
Noticed this in the above code-samplet -
<!DOCTYPE install PUBLIC "-//Joomla! 2.5//DTD template 1.0//EN" "">

Is there a 3.0 version of the xml dtd available? Joomla 3.0 has been around for long enough now... so there should be a 3.0 template-install file available, right?

Please let me know.

P.S. Still in the process of implementing this; so, will let you know how it goes later. :)

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

15 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!