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 our Support Center:
Email Address
Optional, but our team may contact you for more information.
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
4,959 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.

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

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

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!