Hi, Im trying to create a Joomla template from an already made html site
http://srty.webs.com/index.html
(Look at the source code)
Although Its not working
http://showroomtoyou.com/
(Joomla Site)
Does anyone have any tutorials on how to build a joomla template? I couldn't find any good ones. I have to get this done by this afternoon so easy tutorials would be awesome.
This is what I have, (Look at http://srty.webs.com/index.html source code for html and css)
XML Code:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE install PUBLIC "-//Joomla! 1.6//DTD template 1.0//EN" "http://www.joomla.org/xml/dtd/1.6/template-install.dtd">
<extension version="1.6" type="template" client="site">[b]
<name> Srty Default </name>
<creationDate>02/07/2011</creationDate>
<author>Fake</author>
<authorEmail>fake@live.com</authorEmail>
<authorUrl>www.showroomtoyou.com</authorUrl>
<copyright>2011</copyright>
<license>GNU/GPL</license>
<version>1.6.4</version>
<description>Website Template</description>
<files>
<filename>index.php</filename>
<filename>templateDetails.xml</filename>
<filename>index.html </filename>
<filename>template_thumbnail.png</filename>
<folder>css</folder>
</files>
<positions>
<position>head</position>
<position>businessName</position>
<position>sideModule</position>
<position>component</position>
<position>footer</position>
</positions>
</extension>
PHP Code:
Code:
<?php defined( '_JEXEC' ) or die( 'Restricted 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"
xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/template.css" type="text/css" />
</head>
<body>
<jdoc:include type="modules" name="businessName" />
<jdoc:include type="modules" name="sideModule" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="footer" />
</body>
</html>
File Tree:
Code:
srtyDefault
/css
/images
...AllTheImages
template.css
index.html
index.php
template_thumbnail.png
templateDetails.xml
|