I am trying to create a template. I created a folder for the template in the templates folder, and also created two index.php and templateDetails.xml files
My index.php has the following code
<!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" /> </head> <body> <jdoc:include type="component" /> </body> </html>
and templateDetails.xml has the following code, which yes, I copied it because beginner.
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE install PUBLIC "-//Joomla! 1.5//DTD template 1.0//EN" "http://dev.joomla.org/xml/1.5/template-install.dtd"> <install version="3.1.5" type="template"> <name>template _tut</name> <creationDate>31-01-2009</creationDate> <author>Nettut Fan</author> <authorEmail> your@email.com </authorEmail> <authorUrl>http://www.siteurl.com</authorUrl> <copyright>You 2009</copyright> <license>GNU/GPL</license> <version>1.0.0</version> <description>Template Tut</description> <files> <filename>index.php</filename> <filename>templateDetails.xml</filename> <filename>css/template.css</filename> </files> <positions> <position>breadcrumb</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> </positions> </install>
My version of joomla is 3.1.5, and despite the above steps, my templates folder does not appear in the template manager.
source share