Make your own Joomla Template: Part 3 (My First Template)

Filed Under ( Joomla, Photoshop, Programming, Technology, Tips, Tutorial ) by admin on 07-09-2008

Tagged Under : ,

Joomla Template Tutorial - Part 3: Now, we will build our first joomla template. We start from simplest layout. This posting focus on step by step creating simple joomla template.

  1. Open folder where joomla template placed. Assuming, the template folder within www/joomla/.
  2. Create folder, named “mytemplate”.
    1
  3. Open mytemplate folder. Create a file name “index.php”.
  4. Create a file named “templateDetails.xml”. Enter following code:
< ?xml version="1.0" encoding="utf-8"?>
 <install version="1.5" type="template">
 <name>mytemplate</name>
 <version>1.0.0</version>
 <creationdate>07/09/08</creationdate>
 <author>Rakibul Islam</author>
 <authoremail>me@yahoo.com</authoremail>
 <authorurl>http://www.technologystory.net</authorurl>
 <copyright></copyright>
 <license>GNU/GPL</license>
 <description>TPL_MY_TEMPLATE</description>
 <files>
   <filename>index.php</filename>
   <filename>templateDetails.xml</filename>
 </files>
 <positions>
   <position>breadcrumbs</position>
   <position>left</position>
   <position>right</position>
   <position>top</position>
   <position>user1</position>
   <position>user2</position>
   <position>user3</position>
   <position>user4</position>
   <position>footer</position>
   <position>debug</position>
   <position>syndicate</position>
 </positions>
 </install>

When read above codes, you can guess, it is like metadata for this template. Content this XML file is about our Joomla template information.

Related posts:

  1. Make your own Joomla Template: Part 4 (Activate Template)
  2. Make your own Joomla Template: Part 6 (Using Parameter)
  3. Make your own Joomla Template: Part 5 (Creating Layout)
  4. Make your own Joomla Template: Part 6 (Using jdoc)
  5. 1.2 Joomla Database Preparation

Post a comment