<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.sandbox.joomla.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Riorick17</id>
	<title>Joomla! Documentation - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.sandbox.joomla.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Riorick17"/>
	<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/Special:Contributions/Riorick17"/>
	<updated>2026-07-09T18:07:06Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:What_is_the_purpose_of_the_templateDetails.xml_file%3F&amp;diff=31829</id>
		<title>Talk:What is the purpose of the templateDetails.xml file?</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:What_is_the_purpose_of_the_templateDetails.xml_file%3F&amp;diff=31829"/>
		<updated>2010-11-08T21:30:05Z</updated>

		<summary type="html">&lt;p&gt;Riorick17: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== File Structure ===&lt;br /&gt;
This article is confusing in that the &amp;quot;File Structure&amp;quot; consists of an almost random selection of files from the rhuk_milkyway template. It then follows with a list of files labeled &amp;quot;Optional and highly recommended&amp;quot;. But are all of these files optional for a template ? And are they highly recommended or in fact required for a template ? &amp;lt;br&amp;gt;As two separate examples of a potential file structure for a template each of these examples seem to be appropriate if they were labeled as such. However, with its current structuring it leads to the question &amp;quot;what files are required for a template ?&amp;quot; and &amp;quot;what files are optional for a template ?&amp;quot; and I think it should either be relabeled or clarified. &amp;lt;br&amp;gt;Are there in fact any files that are &amp;quot;required&amp;quot; for a template ? Are templates themselves &amp;quot;required&amp;quot; ? From my perspective at least, this particular article is where the beginner will try to grasp the relationship that the template plays in turning a &amp;quot;blank canvas&amp;quot; into a custom website utilizing Joomla core features and optional customization. They will most likely be seeking definitions for things that are not that easy to define due to the versatility of Joomla.&lt;/div&gt;</summary>
		<author><name>Riorick17</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:What_is_the_purpose_of_the_templateDetails.xml_file%3F&amp;diff=31828</id>
		<title>Talk:What is the purpose of the templateDetails.xml file?</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:What_is_the_purpose_of_the_templateDetails.xml_file%3F&amp;diff=31828"/>
		<updated>2010-11-08T21:00:39Z</updated>

		<summary type="html">&lt;p&gt;Riorick17: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;nowiki&amp;gt; This article is confusing in that the &amp;quot;File Structure&amp;quot; consists of an almost random selection of files from the rhuk_milkyway template. It then follows with a list of files labeled &amp;quot;Optional and highly recommended&amp;quot;. But are all of these files optional for a template ? And are they highly recommended or in fact required for a template ?&lt;br /&gt;
 As two separate examples of a potential file structure for a template each of these examples seem to be appropriate if they were labeled as such. However, with its current structuring it leads to the question &amp;quot;what files are required for a template ?&amp;quot; and &amp;quot;what files are optional for a template ?&amp;quot; and I think it should either be relabeled or clarified.&lt;br /&gt;
Are there in fact any files that are &amp;quot;required&amp;quot; for a template ? Are templates themselves &amp;quot;required&amp;quot; ? From my perspective at least, this particular article is where the beginner will try to grasp the relationship that the template plays in turning a &amp;quot;blank canvas&amp;quot; into a custom website utilizing Joomla core features and optional customization. They will most likely be seeking definitions for things that are not that easy to define due to the versatility of Joomla.&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Riorick17</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:What_is_the_purpose_of_the_templateDetails.xml_file%3F&amp;diff=31827</id>
		<title>Talk:What is the purpose of the templateDetails.xml file?</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:What_is_the_purpose_of_the_templateDetails.xml_file%3F&amp;diff=31827"/>
		<updated>2010-11-08T20:58:41Z</updated>

		<summary type="html">&lt;p&gt;Riorick17: New page:  This article is confusing in that the &amp;quot;File Structure&amp;quot; consists of an almost random selection of files from the rhuk_milkyway template. It then follows with a list of files labeled &amp;quot;Optio...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This article is confusing in that the &amp;quot;File Structure&amp;quot; consists of an almost random selection of files from the rhuk_milkyway template. It then follows with a list of files labeled &amp;quot;Optional and highly recommended&amp;quot;. But are all of these files optional for a template ? And are they highly recommended or in fact required for a template ?&lt;br /&gt;
 As two separate examples of a potential file structure for a template each of these examples seem to be appropriate if they were labeled as such. However, with its current structuring it leads to the question &amp;quot;what files are required for a template ?&amp;quot; and &amp;quot;what files are optional for a template ?&amp;quot; and I think it should either be relabeled or clarified.&lt;br /&gt;
Are there in fact any files that are &amp;quot;required&amp;quot; for a template ? Are templates themselves &amp;quot;required&amp;quot; ? From my perspective at least, this particular article is where the beginner will try to grasp the relationship that the template plays in turning a &amp;quot;blank canvas&amp;quot; into a custom website utilizing Joomla core features and optional customization. They will most likely be seeking definitions for things that are not that easy to define due to the versatility of Joomla.&lt;/div&gt;</summary>
		<author><name>Riorick17</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Creating_a_basic_index_file&amp;diff=31825</id>
		<title>Creating a basic index file</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Creating_a_basic_index_file&amp;diff=31825"/>
		<updated>2010-11-08T19:23:32Z</updated>

		<summary type="html">&lt;p&gt;Riorick17: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The index.php file becomes the core of every page that Joomla! delivers. Essentially, you make a page (like any html page) but place PHP code where the content of your site should go. Here is the bare-bones code ready for you to cut and paste.&lt;br /&gt;
&lt;br /&gt;
Lets start at the top:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php defined( &#039;_JEXEC&#039; ) or die( &#039;Restricted access&#039; );?&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot;&lt;br /&gt;
    &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot; &lt;br /&gt;
   xml:lang=&amp;quot;&amp;lt;?php echo $this-&amp;gt;language; ?&amp;gt;&amp;quot; lang=&amp;quot;&amp;lt;?php echo $this-&amp;gt;language; ?&amp;gt;&amp;quot; &amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
The first line stops naughty people looking at your coding and getting up to bad things. The second tells the browser (and webbots) what sort of page it is. The third line says what language the site is in.&lt;br /&gt;
&lt;br /&gt;
Now the header for real:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;jdoc:include type=&amp;quot;head&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;stylesheet&amp;quot; href=&amp;quot;&amp;lt;?php echo $this-&amp;gt;baseurl ?&amp;gt;/templates/system/css/system.css&amp;quot; type=&amp;quot;text/css&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;stylesheet&amp;quot; href=&amp;quot;&amp;lt;?php echo $this-&amp;gt;baseurl ?&amp;gt;/templates/system/css/general.css&amp;quot; type=&amp;quot;text/css&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;stylesheet&amp;quot; href=&amp;quot;&amp;lt;?php echo $this-&amp;gt;baseurl ?&amp;gt;/templates/&amp;lt;?php echo $this-&amp;gt;template?&amp;gt;/css/template.css&amp;quot; type=&amp;quot;text/css&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first line gets Joomla to put the correct header information in. This includes the page title, meta information as well as system JavaScript. &lt;br /&gt;
The rest creates links to two system style sheets and to your own style sheet (if it&#039;s named template.css and is located in the css folder).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now for the main body:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&amp;lt;jdoc:include type=&amp;quot;modules&amp;quot; name=&amp;quot;top&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;jdoc:include type=&amp;quot;component&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;jdoc:include type=&amp;quot;modules&amp;quot; name=&amp;quot;bottom&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Amazingly, this will suffice! Yes, its a very basic layout, but it will do the job. Everything else will be done by Joomla!. Note: you will need to ensure your menu is set to go into the &amp;quot;top&amp;quot; [[Screen.modules.edit.15#Details|module position]].  &lt;br /&gt;
&lt;br /&gt;
Finish it off - one last bit:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;View the [[Testing the template|full source code]] of this template.&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
[[Category:Tutorials]][[Category:Template Development]]&lt;/div&gt;</summary>
		<author><name>Riorick17</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Creating_a_basic_templateDetails.xml_file&amp;diff=31824</id>
		<title>Creating a basic templateDetails.xml file</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Creating_a_basic_templateDetails.xml_file&amp;diff=31824"/>
		<updated>2010-11-08T19:20:15Z</updated>

		<summary type="html">&lt;p&gt;Riorick17: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &amp;lt;tt&amp;gt;templateDetails.xml&amp;lt;/tt&amp;gt; file is essential. Without it, your template won&#039;t be seen by Joomla!. The file holds key &amp;quot;metadata&amp;quot; about the template. &lt;br /&gt;
&lt;br /&gt;
Lets look at an example:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE install PUBLIC &amp;quot;-//Joomla! 1.5//DTD template 1.0//EN&amp;quot; &amp;quot;http://www.joomla.org/xml/dtd/1.5/template-install.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;install version=&amp;quot;1.5&amp;quot; type=&amp;quot;template&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;name&amp;gt;mynewtemplate&amp;lt;/name&amp;gt;&lt;br /&gt;
	&amp;lt;creationDate&amp;gt;2008-05-01&amp;lt;/creationDate&amp;gt;&lt;br /&gt;
	&amp;lt;author&amp;gt;John Doe&amp;lt;/author&amp;gt;&lt;br /&gt;
	&amp;lt;authorEmail&amp;gt;john@example.com&amp;lt;/authorEmail&amp;gt;&lt;br /&gt;
	&amp;lt;authorUrl&amp;gt;http://www.example.com&amp;lt;/authorUrl&amp;gt;&lt;br /&gt;
	&amp;lt;copyright&amp;gt;John Doe 2008&amp;lt;/copyright&amp;gt;&lt;br /&gt;
	&amp;lt;license&amp;gt;GNU/GPL&amp;lt;/license&amp;gt;&lt;br /&gt;
	&amp;lt;version&amp;gt;1.0.2&amp;lt;/version&amp;gt;&lt;br /&gt;
	&amp;lt;description&amp;gt;My New Template&amp;lt;/description&amp;gt;&lt;br /&gt;
	&amp;lt;files&amp;gt;&lt;br /&gt;
		&amp;lt;filename&amp;gt;index.php&amp;lt;/filename&amp;gt;&lt;br /&gt;
		&amp;lt;filename&amp;gt;component.php&amp;lt;/filename&amp;gt;&lt;br /&gt;
		&amp;lt;filename&amp;gt;templateDetails.xml&amp;lt;/filename&amp;gt;&lt;br /&gt;
		&amp;lt;filename&amp;gt;template_thumbnail.png&amp;lt;/filename&amp;gt;&lt;br /&gt;
		&amp;lt;filename&amp;gt;images/background.png&amp;lt;/filename&amp;gt;&lt;br /&gt;
		&amp;lt;filename&amp;gt;css/template.css&amp;lt;/filename&amp;gt;&lt;br /&gt;
	&amp;lt;/files&amp;gt;&lt;br /&gt;
	&amp;lt;positions&amp;gt;&lt;br /&gt;
		&amp;lt;position&amp;gt;breadcrumb&amp;lt;/position&amp;gt;&lt;br /&gt;
		&amp;lt;position&amp;gt;left&amp;lt;/position&amp;gt;&lt;br /&gt;
		&amp;lt;position&amp;gt;right&amp;lt;/position&amp;gt;&lt;br /&gt;
		&amp;lt;position&amp;gt;top&amp;lt;/position&amp;gt;&lt;br /&gt;
		&amp;lt;position&amp;gt;user1&amp;lt;/position&amp;gt;&lt;br /&gt;
		&amp;lt;position&amp;gt;user2&amp;lt;/position&amp;gt;&lt;br /&gt;
		&amp;lt;position&amp;gt;user3&amp;lt;/position&amp;gt;&lt;br /&gt;
		&amp;lt;position&amp;gt;user4&amp;lt;/position&amp;gt;&lt;br /&gt;
		&amp;lt;position&amp;gt;footer&amp;lt;/position&amp;gt;&lt;br /&gt;
	&amp;lt;/positions&amp;gt;&lt;br /&gt;
&amp;lt;/install&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
So, as you can see, we have a set of information between markup tags ( the &amp;amp;lt;thing&amp;gt; ). Your best approach is to cut and paste this into your &amp;quot;templateDetails.xml&amp;quot; file and change the relevant bits (such as &amp;lt;name&amp;gt; &amp;lt;author&amp;gt; ).&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;files&amp;gt; part should contain all the files that you use - you possibly don&#039;t know what they are called yet - don&#039;t worry update it later.&lt;br /&gt;
&lt;br /&gt;
Leave the positions as they are - these are a common set so you will be able to switch easily from the standard templates.&lt;/div&gt;</summary>
		<author><name>Riorick17</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Setting_up_a_directory_structure&amp;diff=31823</id>
		<title>Setting up a directory structure</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Setting_up_a_directory_structure&amp;diff=31823"/>
		<updated>2010-11-08T19:18:07Z</updated>

		<summary type="html">&lt;p&gt;Riorick17: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To make the most basic template, &#039;&#039;&#039;create a new folder&#039;&#039;&#039; in the &#039;&#039;&amp;quot;templates&amp;quot;&#039;&#039; folder. Name this folder after your template i.e. &amp;quot;mynewtemplate&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Using a text editor (or dedicated editor such as [[Adobe Dreamweaver]]) &#039;&#039;&#039;create the files &amp;quot;index.php&amp;quot; and &amp;quot;templateDetails.xml&amp;quot;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To keep things organized, make &#039;&#039;&#039;2 new folders called &amp;quot;images&amp;quot; and &amp;quot;css&amp;quot;&#039;&#039;&#039;. Inside the &amp;quot;css&amp;quot; folder create a file called &amp;quot;template.css&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Although it is fine to place all your CSS code directly in your &amp;quot;index.php&amp;quot; file to start, many web developers prefer to place their CSS code in a separate file that can be linked from multiple pages using the &amp;quot;link&amp;quot; tag.&lt;br /&gt;
&lt;br /&gt;
This is the most basic practical setup.&lt;br /&gt;
&lt;br /&gt;
Outline of folder and file structure:&lt;br /&gt;
* &#039;&#039;&#039;mynewtemplate/&#039;&#039;&#039;&lt;br /&gt;
** &amp;lt;u&amp;gt;css/&amp;lt;/u&amp;gt;&lt;br /&gt;
*** &#039;&#039;template.css&#039;&#039;&lt;br /&gt;
** &amp;lt;u&amp;gt;images/&amp;lt;/u&amp;gt;&lt;br /&gt;
** &#039;&#039;index.php&#039;&#039;&lt;br /&gt;
** &#039;&#039;component.php&#039;&#039;&lt;br /&gt;
** &#039;&#039;templateDetails.xml&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Riorick17</name></author>
	</entry>
</feed>