Creating Jooomla 3.2 template from scratch

Hi guys i am trying to develop a theme installer for Joomla 3.2 i managed to do one sucessfully for 2.5 about 2 years ago in 2010 however with the release of 3.2 i cannot find any tutorials on how to create an installer

this is my files which are the main ones i have my index page

session_start();
/**

  • @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
  • @license GNU/GPL, see LICENSE.php
  • Joomla! is free software. This version may have been modified pursuant
  • to the GNU General Public License, and as distributed it includes or
  • is derivative of works licensed under the GNU General Public License or
  • other free or open source software licenses.
  • See COPYRIGHT.php for copyright notices and details.
    */

// no direct access
?>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=“http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=“Content-Type” content=“text/html; charset=utf-8” />
<title>Belfast Timber Kilns & Belfast Timber Processing LTD Christchurch, New Zealand</title>

</head>
<link rel=“stylesheet” type=“text/css” href=“styles/main.css” media=“screen” />
<style type=“text/css”>
</style>
<body>
<div id=“container”>
<div id=“banner”><img src=“images/banner.jpg” /></div>
<div id=“break”>
<div id=“linebreak”><img src=“images/brown.jpg” /></div>
</div>
<div id=“contentcontainer”>
<div id=“navdiv”>
<div class=“nav”>
<div class=“navlink”><a href=“#” class=“navtext”>Home</a></div>
<div class=“navlink”><a href=“#” class=“navtext”>About</a></div>
<div class=“navlink”><a href=“#” class=“navtext”>Services</a></div>
<div class=“navlink”><a href=“#” class=“navtext”>News</a></div>
<div class=“navlink”><a href=“#” class=“navtext”>Frequently asked questions</a></div>
<div class=“navlink”><a href=“#” class=“navtext”>Contact</a></div>
</div>
</div>
<div id=“middlecontent”>
<p><jdoc:include type=“modules” name=“user1” />

            &lt;jdoc:include type="component" /&gt;

            &lt;/div&gt;&lt;/p&gt;
    &lt;/div&gt;
    &lt;div id="sideimage"&gt;&lt;img src="images/kiln.jpg" border="0" /&gt;&lt;/div&gt;
        &lt;div id="bottomcontent"&gt;
       		&lt;div id="btmcontent"&gt;
            	&lt;img src="images/docksawfeed.jpg" /&gt;
            	&lt;img src="images/dockingstack.jpg" /&gt;
            	&lt;img src="images/bandsaw.jpg" /&gt;
            &lt;/div&gt;
&lt;/div&gt;
&lt;div id="footer"&gt;
	&lt;div id="copy"&gt;
    Copyright 2014 Belfast Timbers&nbsp;LTD&nbsp;•&nbsp;&lt;a href="#" class="footerlink"&gt;Site map&lt;/a&gt;&nbsp;•&nbsp;&lt;a href="#" class="footerlink"&gt;Contact US&lt;/a&gt;
    &lt;/div&gt;
    &lt;div id="design"&gt;Design by &lt;a href="http://www.williamb-c.com" class="footerlink"&gt;BC Web Design&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;

</div>
</body>
</html>

and my other one is the xml file

<install version=“3.2” type=“template”>

<name>Belfast Timber</name> <version>1.0</version>

<creationDate>21.04.2014</creationDate> <author>William BC</author>

<copyright>GNU/GPL</copyright>

<authorEmail>will@williamb-c.com</authorEmail>

<authorUrl>http://www.williamb-c.com</authorUrl>

<version>0.1</version> <description>… description</description> <files>

<filename>index.php</filename>

<filename>templateDetails.xml</filename>

<filename>images/banner.jpg</filename>

<filename>images/bandsaw.jpg</filename>

<filename>images/brown.jpg</filename>

<filename>images/navbg2.jpg</filename>
<filename>images/docksawfeed.jpg</filename>
<filename>images/footerbg.jpg</filename>
<filename>images/kiln.jpg</filename>

</files>
<position>left</position>

</install>

When i try to install that all zipped i get this error returned to me

JInstaller: :Install: Cannot find Joomla XML setup file

How can i get this template installed for Jooomla 3.2?

Can anyone help me please?

Your XML file is for Joomla 1.5. Try to change it for 2.5+ http://docs.joomla.org/Creating_a_basic_templateDetails.xml_file

ok it works how come when i activate it for my site i get this error?

The template for this display is not available. Please contact a Site administrator.

this is my php code

session_start();
/**

  • @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
  • @license GNU/GPL, see LICENSE.php
  • Joomla! is free software. This version may have been modified pursuant
  • to the GNU General Public License, and as distributed it includes or
  • is derivative of works licensed under the GNU General Public License or
  • other free or open source software licenses.
  • See COPYRIGHT.php for copyright notices and details.
    */

// no direct access
?>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=“http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=“Content-Type” content=“text/html; charset=utf-8” />
<title>Belfast Timber Kilns & Belfast Timber Processing LTD Christchurch, New Zealand</title>

</head>
<link rel=“stylesheet” type=“text/css” href=“styles/main.css” media=“screen” />
<style type=“text/css”>
</style>
<body>
<div id=“container”>
<div id=“banner”><img src=“images/banner.jpg” /></div>
<div id=“break”>
<div id=“linebreak”><img src=“images/brown.jpg” /></div>
</div>
<div id=“contentcontainer”>
<div id=“navdiv”>
<div class=“nav”>
<div class=“navlink”><a href=“#” class=“navtext”>Home</a></div>
<div class=“navlink”><a href=“#” class=“navtext”>About</a></div>
<div class=“navlink”><a href=“#” class=“navtext”>Services</a></div>
<div class=“navlink”><a href=“#” class=“navtext”>News</a></div>
<div class=“navlink”><a href=“#” class=“navtext”>Frequently asked questions</a></div>
<div class=“navlink”><a href=“#” class=“navtext”>Contact</a></div>
</div>
</div>
<div id=“middlecontent”>
<p><jdoc:include type=“modules” name=“user1” />

            &lt;jdoc:include type="component" /&gt;

            &lt;/div&gt;&lt;/p&gt;
    &lt;/div&gt;
    &lt;div id="sideimage"&gt;&lt;img src="images/kiln.jpg" border="0" /&gt;&lt;/div&gt;
        &lt;div id="bottomcontent"&gt;
       		&lt;div id="btmcontent"&gt;
            	&lt;img src="images/docksawfeed.jpg" /&gt;
            	&lt;img src="images/dockingstack.jpg" /&gt;
            	&lt;img src="images/bandsaw.jpg" /&gt;
            &lt;/div&gt;
&lt;/div&gt;
&lt;div id="footer"&gt;
	&lt;div id="copy"&gt;
    Copyright 2014 Belfast Timbers&nbsp;LTD&nbsp;•&nbsp;&lt;a href="#" class="footerlink"&gt;Site map&lt;/a&gt;&nbsp;•&nbsp;&lt;a href="#" class="footerlink"&gt;Contact US&lt;/a&gt;
    &lt;/div&gt;
    &lt;div id="design"&gt;Design by &lt;a href="http://www.williamb-c.com" class="footerlink"&gt;BC Web Design&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;

</div>
</body>
</html>

Is there somthing missing for my Joomla 3.2 template i need to fix?

I don’t think there is a problem in your index.php. Try change in your XML this <name>Belfast Timber</name> for this <name>belfasttimber</name>

still same error what else can i do to fix this issue?