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" "http://www.joomla.org/xml/dtd/2.5/template-install.dtd">
<extension version="3.0" type="template" client="site">
  <name>Basic Joomla 3.0 Template</name>
  <version>1.0</version>
  <creationDate>10/04/2012</creationDate>
  <author>InMotion Hosting</author>
  <authorEmail>support@inmotionhosting.com</authorEmail>
  <copyright>Copyright (C) 2012 InMotion Hosting</copyright>
  <description>A very basic template for Joomla 3.0</description>
  <files>
    <filename>index.php</filename>
    <folder>css</folder>
    <folder>js</folder>
    <folder>images</folder>
  </files>
  <positions>
        <position>debug</position>
        <position>position-0</position>
        <position>position-1</position>
        <position>position-2</position>
        <position>position-3</position>
        <position>position-4</position>
        <position>position-5</position>
        <position>position-6</position>
        <position>position-7</position>
        <position>position-8</position>
        <position>position-9</position>
        <position>position-10</position>
        <position>position-11</position>
        <position>position-12</position>
        <position>position-13</position>
        <position>position-14</position>
  </positions>
<config>
</config>
</extension>
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Like this Article?

Comments

Post a comment
2013-04-22 2:50 am
Noticed this in the above code-samplet -
<!DOCTYPE install PUBLIC "-//Joomla! 2.5//DTD template 1.0//EN" "http://www.joomla.org/xml/dtd/2.5/template-install.dtd">

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.

Thanks,
Amrita
P.S. Still in the process of implementing this; so, will let you know how it goes later. :)
Staff
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-23 12:43 am
you don't have to be sorry... :) I was just curious.... thanks for the prompt response.
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.

Staff
15,484 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.

Regards,
Arnel C.
n/a Points
2014-05-07 9:30 am

Hi

 

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

Staff
7,372 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.
Staff
5,388 Points
2014-05-07 10:52 am
Hi @Guillaume,

According to Joomla's documentation, the <!DOCTYPE install 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 <!DOCTYPE install in your templateDetails.xml file and try to install the template, it installs successfully.

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

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

News / Announcements

WordPress wp-login.php brute force attack
Updated 2014-07-17 06:43 pm EST
Hits: 201639

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

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!

Need more Help?

Search

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: support@InMotionHosting.com
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!