<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Nicola Callegaro website &#187; Joomla</title>
	<atom:link href="http://mediaofficina.com/nicola_callegaro/category/cms/joomla/feed/" rel="self" type="application/rss+xml" />
	<link>http://mediaofficina.com/nicola_callegaro</link>
	<description>Nicola Callegaro personal website</description>
	<lastBuildDate>Thu, 26 Jan 2012 13:27:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Add a new module position to your Joomla! 1.5 template</title>
		<link>http://mediaofficina.com/nicola_callegaro/2008/10/09/add-a-new-module-position-to-your-joomla-15-template/</link>
		<comments>http://mediaofficina.com/nicola_callegaro/2008/10/09/add-a-new-module-position-to-your-joomla-15-template/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 22:52:18 +0000</pubDate>
		<dc:creator>nicola</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[module positions]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://mediaofficina.com/nicola_callegaro/?p=198</guid>
		<description><![CDATA[<p>To start, check the available module positions of your current template using an url like this:</p> <p>http://www.mywebsite.com/index.php?tp=1 </p> <p>If you&#8217;re not brave, and Just because everything could happen, create a backup copy of your template folder</p> <p>Now we start!</p> <p>1 &#8211; Go to: Extensions / Template manager/ Site Templates, select your template and click on <span style="color:#777"> . . . &#8594; Read More: <a href="http://mediaofficina.com/nicola_callegaro/2008/10/09/add-a-new-module-position-to-your-joomla-15-template/">Add a new module position to your Joomla! 1.5 template</a></span>]]></description>
			<content:encoded><![CDATA[<p>To start, check the available module positions of your current template using an url like this:</p>
<p><strong>http://www.mywebsite.com/index.php?tp=1 </strong></p>
<p>If you&#8217;re not brave, and Just because everything could happen, create a backup copy of your template folder</p>
<p>Now we start!</p>
<p>1 &#8211; Go to: Extensions / Template manager/ Site Templates, select your template and click on Edit HTML.</p>
<p>2 -Add the following code where you want to place the new position (remember: only Joomla 1.5):</p>
<pre class="php"><span style="font-weight: bold; color: #000000;">
&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">(</span><span style="color: #0000ff;">$this</span>-&gt;<span style="color: #006600;">countModules</span><span style="color: #66cc66;">(</span><span style="color: #ff0000;">'position-name'</span><span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span> : <span style="font-weight: bold; color: #000000;">?&gt;</span>
    &lt;div&gt;
        &lt;jdoc:<span style="color: #b1b100;">include</span> type=<span style="color: #ff0000;">"modules"</span> name=<span style="color: #ff0000;">"</span><span style="color: #ff0000;">position-name</span><span style="color: #ff0000;">"</span> style=<span style="color: #ff0000;">"xhtml"</span> /&gt;
    &lt;/div&gt;
<span style="font-weight: bold; color: #000000;">&lt;?php</span> <span style="color: #b1b100;">endif</span>; <span style="font-weight: bold; color: #000000;">?&gt;

</span></pre>
<p>Change the name (<span style="color: #ff0000;">position-name</span>) to whatever you like.</p>
<p>3 &#8211; Go to Template Manager / Module Positions and add the name of the new position.</p>
<p>4 &#8211; Then open the file templatedetail.xml (it is in the folder templates/your-template-name), scroll down towards the bottom, where all the others are, and declare  the position:</p>
<pre class="php">    &lt;positions&gt;
        &lt;positions&gt;....&lt;/positions&gt;
        &lt;positions&gt;<span><span style="color: #ff0000;">position-name</span></span>&lt;/positions&gt;
        &lt;positions&gt;....&lt;/positions&gt;
    &lt;/positions&gt;
<span style="font-weight: bold; color: #000000;"></span></pre>
<p>5 &#8211; DONE! Your new module position is ready and available&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://mediaofficina.com/nicola_callegaro/2008/10/09/add-a-new-module-position-to-your-joomla-15-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

