<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://docs.joomla.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://docs.joomla.org/index.php?title=New_features_introduced_in_Joomla!_1.5_templates&amp;feed=atom&amp;action=history</id>
		<title>New features introduced in Joomla! 1.5 templates - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://docs.joomla.org/index.php?title=New_features_introduced_in_Joomla!_1.5_templates&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://docs.joomla.org/index.php?title=New_features_introduced_in_Joomla!_1.5_templates&amp;action=history"/>
		<updated>2013-06-19T04:51:21Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.3</generator>

	<entry>
		<id>http://docs.joomla.org/index.php?title=New_features_introduced_in_Joomla!_1.5_templates&amp;diff=13374&amp;oldid=prev</id>
		<title>Ashwin: Fixed up some code typos (Extra semicolons). Also removed the comment on the defined JEXEC line which rendered it commented out</title>
		<link rel="alternate" type="text/html" href="http://docs.joomla.org/index.php?title=New_features_introduced_in_Joomla!_1.5_templates&amp;diff=13374&amp;oldid=prev"/>
				<updated>2009-03-04T10:11:13Z</updated>
		
		<summary type="html">&lt;p&gt;Fixed up some code typos (Extra semicolons). Also removed the comment on the defined JEXEC line which rendered it commented out&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 10:11, 4 March 2009&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;; '''Objects and Methods'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;; '''Objects and Methods'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;: The Joomla! 1.5 framework has been re-engineered and now includes the JApplication layer, which contains a number of objects and methods you can reference from the template ''index.php''.&amp;#160; For example, ''&amp;lt;jdoc:include type=&amp;quot;head&amp;quot; /&amp;gt;'' replaces the 1.0.x ''&amp;lt;?php mosShowHead(); ?&amp;gt;'', ''&amp;lt;?php echo $mainframe-&amp;gt;getCfg('sitename');?&amp;gt;'' replaces the 1.0.x ''&amp;lt;?php echo $mosConfig_sitename; ?&amp;gt;'' [N.B. This new method works for all ''configuration.php'' parameters], ''&amp;lt;?php &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;// no direct access &lt;/del&gt;defined( '_JEXEC' ) or die( 'Restricted access' ); ?&amp;gt;'' replaces the 1.0.x ''&amp;lt;?php defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?&amp;gt;'', ''&amp;lt;?php echo JURI::base();?&amp;gt;'' replaces the 1.0.x ''&amp;lt;?php echo $mosConfig_live_site; ?&amp;gt;''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;: The Joomla! 1.5 framework has been re-engineered and now includes the JApplication layer, which contains a number of objects and methods you can reference from the template ''index.php''.&amp;#160; For example, ''&amp;lt;jdoc:include type=&amp;quot;head&amp;quot; /&amp;gt;'' replaces the 1.0.x ''&amp;lt;?php mosShowHead(); ?&amp;gt;'', ''&amp;lt;?php echo $mainframe-&amp;gt;getCfg('sitename'); ?&amp;gt;'' replaces the 1.0.x ''&amp;lt;?php echo $mosConfig_sitename; ?&amp;gt;'' [N.B. This new method works for all ''configuration.php'' parameters], ''&amp;lt;?php defined( '_JEXEC' ) or die( 'Restricted access' ); ?&amp;gt;'' replaces the 1.0.x ''&amp;lt;?php defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?&amp;gt;'', ''&amp;lt;?php echo JURI::base(); ?&amp;gt;'' replaces the 1.0.x ''&amp;lt;?php echo $mosConfig_live_site; ?&amp;gt;''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;; '''Module Positions'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;; '''Module Positions'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ashwin</name></author>	</entry>

	<entry>
		<id>http://docs.joomla.org/index.php?title=New_features_introduced_in_Joomla!_1.5_templates&amp;diff=13373&amp;oldid=prev</id>
		<title>Ashwin at 10:07, 4 March 2009</title>
		<link rel="alternate" type="text/html" href="http://docs.joomla.org/index.php?title=New_features_introduced_in_Joomla!_1.5_templates&amp;diff=13373&amp;oldid=prev"/>
				<updated>2009-03-04T10:07:58Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 10:07, 4 March 2009&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;; '''Objects and Methods'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;; '''Objects and Methods'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;: The Joomla! 1.5 framework has been re-engineered and now includes the JApplication layer, which contains a number of objects and methods you can reference from the template ''index.php''.&amp;#160; For example, ''&amp;lt;jdoc:include type=&amp;quot;head&amp;quot; /&amp;gt;'' replaces the 1.0.x ''&amp;lt;?php mosShowHead(); ?&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;;&lt;/del&gt;'', ''&amp;lt;?php echo $mainframe-&amp;gt;getCfg('sitename');?&amp;gt;'' replaces the 1.0.x ''&amp;lt;?php echo $mosConfig_sitename; ?&amp;gt;'' [N.B. This new method works for all ''configuration.php'' parameters], ''&amp;lt;?php // no direct access defined( '_JEXEC' ) or die( 'Restricted access' ); ?&amp;gt;'' replaces the 1.0.x ''&amp;lt;?php defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?&amp;gt;'', ''&amp;lt;?php echo JURI::base()&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;;&lt;/del&gt;;?&amp;gt;'' replaces the 1.0.x ''&amp;lt;?php echo $mosConfig_live_site; ?&amp;gt;''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;: The Joomla! 1.5 framework has been re-engineered and now includes the JApplication layer, which contains a number of objects and methods you can reference from the template ''index.php''.&amp;#160; For example, ''&amp;lt;jdoc:include type=&amp;quot;head&amp;quot; /&amp;gt;'' replaces the 1.0.x ''&amp;lt;?php mosShowHead(); ?&amp;gt;'', ''&amp;lt;?php echo $mainframe-&amp;gt;getCfg('sitename');?&amp;gt;'' replaces the 1.0.x ''&amp;lt;?php echo $mosConfig_sitename; ?&amp;gt;'' [N.B. This new method works for all ''configuration.php'' parameters], ''&amp;lt;?php // no direct access defined( '_JEXEC' ) or die( 'Restricted access' ); ?&amp;gt;'' replaces the 1.0.x ''&amp;lt;?php defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?&amp;gt;'', ''&amp;lt;?php echo JURI::base();?&amp;gt;'' replaces the 1.0.x ''&amp;lt;?php echo $mosConfig_live_site; ?&amp;gt;''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;; '''Module Positions'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;; '''Module Positions'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ashwin</name></author>	</entry>

	<entry>
		<id>http://docs.joomla.org/index.php?title=New_features_introduced_in_Joomla!_1.5_templates&amp;diff=4165&amp;oldid=prev</id>
		<title>Rliskey: fixed minor typo</title>
		<link rel="alternate" type="text/html" href="http://docs.joomla.org/index.php?title=New_features_introduced_in_Joomla!_1.5_templates&amp;diff=4165&amp;oldid=prev"/>
				<updated>2008-03-29T06:02:37Z</updated>
		
		<summary type="html">&lt;p&gt;fixed minor typo&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 06:02, 29 March 2008&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;; '''Template parameters'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;; '''Template parameters'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;: Parameters may be defined in your template. These are declared in ''templateDetails.xml''. Parameter default values can be set in ''params.ini'', which is also referenced in ''templateDetails.XML'' as a template &amp;lt;file&amp;gt;. The parameters can be set in the Administrator Template Manager and also &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;only &lt;/del&gt;the fly using the template's Javascript.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;: Parameters may be defined in your template. These are declared in ''templateDetails.xml''. Parameter default values can be set in ''params.ini'', which is also referenced in ''templateDetails.XML'' as a template &amp;lt;file&amp;gt;. The parameters can be set in the Administrator Template Manager and also &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;on &lt;/ins&gt;the fly using the template's Javascript.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;; '''Template overrides'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;; '''Template overrides'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Rliskey</name></author>	</entry>

	<entry>
		<id>http://docs.joomla.org/index.php?title=New_features_introduced_in_Joomla!_1.5_templates&amp;diff=2856&amp;oldid=prev</id>
		<title>Radiant tech: added template directory structure transclusion; corrected initial cap</title>
		<link rel="alternate" type="text/html" href="http://docs.joomla.org/index.php?title=New_features_introduced_in_Joomla!_1.5_templates&amp;diff=2856&amp;oldid=prev"/>
				<updated>2008-02-19T15:55:09Z</updated>
		
		<summary type="html">&lt;p&gt;added template directory structure transclusion; corrected initial cap&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 15:55, 19 February 2008&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 28:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 28:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;; '''Template file structure'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;; '''Template file structure'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;: &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;The &lt;/del&gt;template directory &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and file &lt;/del&gt;structure &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;has been expanded to include all of the above.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;: &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{:What is the typical &lt;/ins&gt;template directory structure&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;?}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;; '''Accessibility and Standards'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;; '''Accessibility and Standards'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;; '''Additional Javascript'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;; '''Additional Javascript'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;: &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;there &lt;/del&gt;are some additional Javascript libraries available for use in your template.&amp;#160; For example,&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;: &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;There &lt;/ins&gt;are some additional Javascript libraries available for use in your template.&amp;#160; For example,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;media/system/js/mootools.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;media/system/js/mootools.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Radiant tech</name></author>	</entry>

	<entry>
		<id>http://docs.joomla.org/index.php?title=New_features_introduced_in_Joomla!_1.5_templates&amp;diff=2366&amp;oldid=prev</id>
		<title>Chris Davenport: Made page a bit prettier!</title>
		<link rel="alternate" type="text/html" href="http://docs.joomla.org/index.php?title=New_features_introduced_in_Joomla!_1.5_templates&amp;diff=2366&amp;oldid=prev"/>
				<updated>2008-01-24T16:19:14Z</updated>
		
		<summary type="html">&lt;p&gt;Made page a bit prettier!&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 16:19, 24 January 2008&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;A summary of new features introduced in Joomla! 1.5 templates:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;A summary of new features introduced in Joomla! 1.5 templates:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;1. &lt;/del&gt;'''Model&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/del&gt;View&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/del&gt;Controller''': This structure has been implemented in Joomla! 1.5, separating out logic, data and view of data. This means that the HTML, CSS and other code used to display Joomla! (to the browser or other device) is now completely separate from the Joomla! logic and is contained entirely within the templating system. This gives you greater control over how you wish to display the data, without having to access (hack!) core Joomla! code.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;; &lt;/ins&gt;'''Model View Controller &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;(MVC)&lt;/ins&gt;'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;: This structure has been implemented in Joomla! 1.5, separating out logic, data and view of data. This means that the HTML, CSS and other code used to display Joomla! (to the browser or other device) is now completely separate from the Joomla! logic and is contained entirely within the templating system. This gives you greater control over how you wish to display the data, without having to access (hack!) core Joomla! code.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;2. &lt;/del&gt;'''Template positions''': The positions used in a template are now declared in templateDetails.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;XML&lt;/del&gt;. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;; &lt;/ins&gt;'''Template positions'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;e.g.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;: The positions used in a template are now declared in &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;templateDetails.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;xml''&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; For example,&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;positions&amp;gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;positions&amp;gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;position&amp;gt;top&amp;lt;/position&amp;gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;position&amp;gt;top&amp;lt;/position&amp;gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;position&amp;gt;left&amp;lt;/position&amp;gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160;  &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;position&amp;gt;left&amp;lt;/position&amp;gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160;  &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/positions&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/positions&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/source&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;; '''Joomla version'''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;: The version number is now declared in the template.&amp;#160; For example, ''&amp;lt;install version=&amp;quot;1.5&amp;quot; type=&amp;quot;template&amp;quot;&amp;gt;'' replaces 1.0.x ''&amp;lt;mosinstall type=&amp;quot;template&amp;quot;&amp;gt;''.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;3. &lt;/del&gt;'''&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Joomla version&lt;/del&gt;''': &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;The version number is now declared &lt;/del&gt;in &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;the &lt;/del&gt;template&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;; &lt;/ins&gt;'''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Template parameters&lt;/ins&gt;'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;e&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;g&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;install version=&amp;quot;1&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;5&amp;quot; type=&amp;quot;template&amp;quot;&amp;gt; replaces 1&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;0&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;x &amp;lt;mosinstall type=&amp;quot;&lt;/del&gt;template&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot;&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;: &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Parameters may be defined &lt;/ins&gt;in &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;your &lt;/ins&gt;template. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;These are declared in ''templateDetails&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;xml''&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Parameter default values can be set in ''params&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ini'', which is also referenced in ''templateDetails&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;XML'' as a &lt;/ins&gt;template &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;file&lt;/ins&gt;&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;. The parameters can be set in the Administrator Template Manager and also only the fly using the template's Javascript.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;4. &lt;/del&gt;'''Template &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;parameters&lt;/del&gt;''': &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Parameters may &lt;/del&gt;be &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;defined in your &lt;/del&gt;template. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;These are declared in templateDetails.XML. Parameter default values &lt;/del&gt;can be &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;set &lt;/del&gt;in &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;params.ini, which is also referenced in templateDetails.XML as a template &amp;lt;file&amp;gt;&lt;/del&gt;. The &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;parameters &lt;/del&gt;can be &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;set &lt;/del&gt;in &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;the Administrator Template Manager and also only the fly using the template&lt;/del&gt;'&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;s Javascript&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;; &lt;/ins&gt;'''Template &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;overrides&lt;/ins&gt;'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;: &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;The default system chrome ('views') for any module or component can now &lt;/ins&gt;be &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;overridden by the &lt;/ins&gt;template. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Default system chrome for each module and component &lt;/ins&gt;can &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;now &lt;/ins&gt;be &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;found &lt;/ins&gt;in &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;directories ''modules/mod_modulename/tmpl'' and ''components/com_componentname/views/layout/tmpl''&lt;/ins&gt;. The &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;pagination chrome &lt;/ins&gt;can &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;also &lt;/ins&gt;be &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;overridden &lt;/ins&gt;in '&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'pagination.php''&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;5. &lt;/del&gt;'''&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Template overrides&lt;/del&gt;''': The &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;default system chrome &lt;/del&gt;('&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;views&lt;/del&gt;') &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;for any module or component can now be overridden by &lt;/del&gt;the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;template&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Default system chrome &lt;/del&gt;for &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;each module and component can now be found in directories modules&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;mod_modulename&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;tmpl and components/com_componentname/views/layout/tmpl&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;The pagination chrome can also be overridden in pagination&lt;/del&gt;.php.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;; &lt;/ins&gt;'''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Objects and Methods&lt;/ins&gt;'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;: The &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Joomla! 1.5 framework has been re-engineered and now includes the JApplication layer, which contains a number of objects and methods you can reference from the template ''index.php''.&amp;#160; For example, ''&amp;lt;jdoc:include type=&amp;quot;head&amp;quot; /&amp;gt;'' replaces the 1.0.x ''&amp;lt;?php mosShowHead(); ?&amp;gt;;'', ''&amp;lt;?php echo $mainframe-&amp;gt;getCfg&lt;/ins&gt;('&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;sitename&lt;/ins&gt;')&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;;?&amp;gt;'' replaces &lt;/ins&gt;the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;1&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;0.x ''&amp;lt;?php echo $mosConfig_sitename; ?&amp;gt;'' [N.B. This new method works &lt;/ins&gt;for &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;all ''configuration.php'' parameters], ''&amp;lt;?php &lt;/ins&gt;// &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;no direct access defined( '_JEXEC' ) or die( 'Restricted access' ); ?&amp;gt;'' replaces the 1&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;0&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;x ''&amp;lt;?&lt;/ins&gt;php &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?&amp;gt;'', ''&amp;lt;?php echo JURI::base();;?&amp;gt;'' replaces the 1.0.x ''&amp;lt;?php echo $mosConfig_live_site; ?&amp;gt;''&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;6. &lt;/del&gt;'''&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Objects and Methods&lt;/del&gt;''': &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;The Joomla! 1.5 framework has been re-engineered and now includes the JApplication layer, which contains &lt;/del&gt;a &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;number &lt;/del&gt;of &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;objects and methods you can reference from &lt;/del&gt;the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;template index&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;php, &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;; &lt;/ins&gt;'''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Module Positions&lt;/ins&gt;'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;e.g. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;: &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;There is &lt;/ins&gt;a &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;new way &lt;/ins&gt;of &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;checking which module positions have content to display on &lt;/ins&gt;the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;current page&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;This logic can be used for collapsible columns (&lt;/ins&gt;e.g. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;collapse &lt;/ins&gt;the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;left or right column if no content is present). The &lt;/ins&gt;1.0.x ''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;mosCountModules'' function has been replaced by &lt;/ins&gt;the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;$&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;this-&lt;/ins&gt;&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;countModules'' and conditions have been added: you can now use &lt;/ins&gt;'&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;+', '-', &lt;/ins&gt;'or' &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;or 'and&lt;/ins&gt;'&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, e&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;g&lt;/ins&gt;. ''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;if &lt;/ins&gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;$&lt;/ins&gt;this&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;-&lt;/ins&gt;&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;countModules&lt;/ins&gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'left or right'&lt;/ins&gt;) &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;== &lt;/ins&gt;1&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;)''&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;jdoc:include type=&amp;quot;head&amp;quot; /&amp;gt; replaces &lt;/del&gt;the 1.0.x &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;?php mosShowHead(); ?&amp;gt;;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;?php echo $mainframe-&amp;gt;getCfg(&lt;/del&gt;'&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;sitename&lt;/del&gt;'&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;);?&amp;gt; replaces &lt;/del&gt;the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;1.0.x &amp;lt;?php echo &lt;/del&gt;$&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;mosConfig_sitename; ?&lt;/del&gt;&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;[N.B. This new method works for all configuration.php parameters];&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;?php // no direct access defined( &lt;/del&gt;'&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;_JEXEC&lt;/del&gt;' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;) &lt;/del&gt;or &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;die( &lt;/del&gt;'&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Restricted access&lt;/del&gt;' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;); ?&amp;gt; replaces the 1&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;0&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;x &amp;lt;?php defined( &lt;/del&gt;'&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;_VALID_MOS&lt;/del&gt;' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;) or die&lt;/del&gt;( &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;'Direct Access to &lt;/del&gt;this &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;location is not allowed.' ); ?&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;?php echo JURI::base&lt;/del&gt;()&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;;;?&amp;gt; replaces the &lt;/del&gt;1.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;0.x &amp;lt;?php echo $mosConfig_live_site; ?&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;7. &lt;/del&gt;'''&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Module Positions&lt;/del&gt;''': &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;There is a new way of checking which module positions have content to display on the current page. This logic can be used for collapsible columns (e.g. collapse the left or right column if no content is present). &lt;/del&gt;The &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;1.0.x 'mosCountModules' function &lt;/del&gt;has been &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;replaced by &lt;/del&gt;the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;'$this-&amp;gt;countModules', and conditions have been added: you can now use '+', '-', 'or' or 'and', e.g. if($this-&amp;gt;countModules('left or right') == 1)&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;; &lt;/ins&gt;'''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Template file structure&lt;/ins&gt;'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;: The &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;template directory and file structure &lt;/ins&gt;has been &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;expanded to include all of &lt;/ins&gt;the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;above&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;8. &lt;/del&gt;'''&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Template file structure&lt;/del&gt;''': &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;The &lt;/del&gt;template &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;directory &lt;/del&gt;and &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;file structure has been expanded &lt;/del&gt;to &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;include all of the above&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;; &lt;/ins&gt;'''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Accessibility and Standards&lt;/ins&gt;'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;: &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Using &lt;/ins&gt;template &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;overrides, it is possible to create tableless Joomla! The new parameters &lt;/ins&gt;and &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;overrides encourage improvements in web standards, accessbility, search engine optimisation (SEO) (source ordering and markup), language (left &lt;/ins&gt;to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;right support) and browser optimisation (browser-dependent CSS)&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;9. '''Accessibility and Standards''': Using template overrides, it is possible to create table-less Joomla! The new parameters and overrides encourage improvements in web standards, accessbility, SEO optimsation (source ordering and markup), language (left to right support) and browser optimisation (browser-dependent CSS).&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;; &lt;/ins&gt;'''Default system template'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;: The system template (in the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;/templates&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' &lt;/ins&gt;directory) has been expanded to include more CSS files and a standard &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;modules.php&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' &lt;/ins&gt;(module chrome) and &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;component.php&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' &lt;/ins&gt;(component chrome). &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;You can include some of the default CSS files in your template&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.&amp;#160; For example&lt;/ins&gt;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;10. &lt;/del&gt;'''Default system template''': The system template (in the /templates directory) has been expanded to include more CSS files and a standard modules.php (module chrome) and component.php (component chrome).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;You can include some of the default CSS files in your template, &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;e.g. &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;link rel=&amp;quot;stylesheet&amp;quot; href=&amp;quot;templates/system/css/system.css&amp;quot; type=&amp;quot;text/css&amp;quot; /&amp;gt; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;link rel=&amp;quot;stylesheet&amp;quot; href=&amp;quot;templates/system/css/system.css&amp;quot; type=&amp;quot;text/css&amp;quot; /&amp;gt; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;link rel=&amp;quot;stylesheet&amp;quot; href=&amp;quot;templates/system/css/general.css&amp;quot; type=&amp;quot;text/css&amp;quot; /&amp;gt; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;link rel=&amp;quot;stylesheet&amp;quot; href=&amp;quot;templates/system/css/general.css&amp;quot; type=&amp;quot;text/css&amp;quot; /&amp;gt; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/source&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;11. &lt;/del&gt;'''Additional Javascript''': there are some additional Javascript libraries available for use in your template. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;; &lt;/ins&gt;'''Additional Javascript'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;e.g. &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;: there are some additional Javascript libraries available for use in your template. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; For example,&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;media/system/js/mootools.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;media/system/js/mootools.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;media/system/js/caption.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;media/system/js/caption.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;These are included in &amp;lt;jdoc:include type=&amp;quot;head&amp;quot; /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/source&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;: &lt;/ins&gt;These are included in &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;&amp;lt;jdoc:include type=&amp;quot;head&amp;quot; /&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;12. &lt;/del&gt;'''&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Errors &lt;/del&gt;handling''': More default error pages are included in the system template (403.php and 500.php) and a new error message call has been introduced, which must be referenced in your template by &amp;lt;jdoc:include type=&amp;quot;message&amp;quot; /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;; &lt;/ins&gt;'''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Error &lt;/ins&gt;handling'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;: More default error pages are included in the system template (&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;403.php&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' &lt;/ins&gt;and &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;500.php&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;) and a new error message call has been introduced, which must be referenced in your template by &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;&amp;lt;jdoc:include type=&amp;quot;message&amp;quot; /&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Templates]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Templates]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Chris Davenport</name></author>	</entry>

	<entry>
		<id>http://docs.joomla.org/index.php?title=New_features_introduced_in_Joomla!_1.5_templates&amp;diff=466&amp;oldid=prev</id>
		<title>Chris Davenport: 1 revision(s)</title>
		<link rel="alternate" type="text/html" href="http://docs.joomla.org/index.php?title=New_features_introduced_in_Joomla!_1.5_templates&amp;diff=466&amp;oldid=prev"/>
				<updated>2008-01-14T23:27:31Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision(s)&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 23:27, 14 January 2008&lt;/td&gt;
			&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Chris Davenport</name></author>	</entry>

	<entry>
		<id>http://docs.joomla.org/index.php?title=New_features_introduced_in_Joomla!_1.5_templates&amp;diff=465&amp;oldid=prev</id>
		<title>Chris Davenport at 22:54, 14 January 2008</title>
		<link rel="alternate" type="text/html" href="http://docs.joomla.org/index.php?title=New_features_introduced_in_Joomla!_1.5_templates&amp;diff=465&amp;oldid=prev"/>
				<updated>2008-01-14T22:54:17Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A summary of new features introduced in Joomla! 1.5 templates:&lt;br /&gt;
&lt;br /&gt;
1. '''Model, View, Controller''': This structure has been implemented in Joomla! 1.5, separating out logic, data and view of data. This means that the HTML, CSS and other code used to display Joomla! (to the browser or other device) is now completely separate from the Joomla! logic and is contained entirely within the templating system. This gives you greater control over how you wish to display the data, without having to access (hack!) core Joomla! code.&lt;br /&gt;
&lt;br /&gt;
2. '''Template positions''': The positions used in a template are now declared in templateDetails.XML. &lt;br /&gt;
e.g.&lt;br /&gt;
&amp;lt;positions&amp;gt;                        &lt;br /&gt;
&amp;lt;position&amp;gt;top&amp;lt;/position&amp;gt;             &lt;br /&gt;
&amp;lt;position&amp;gt;left&amp;lt;/position&amp;gt;         &lt;br /&gt;
&amp;lt;/positions&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. '''Joomla version''': The version number is now declared in the template, &lt;br /&gt;
e.g. &amp;lt;install version=&amp;quot;1.5&amp;quot; type=&amp;quot;template&amp;quot;&amp;gt; replaces 1.0.x &amp;lt;mosinstall type=&amp;quot;template&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. '''Template parameters''': Parameters may be defined in your template. These are declared in templateDetails.XML. Parameter default values can be set in params.ini, which is also referenced in templateDetails.XML as a template &amp;lt;file&amp;gt;. The parameters can be set in the Administrator Template Manager and also only the fly using the template's Javascript.&lt;br /&gt;
&lt;br /&gt;
5. '''Template overrides''': The default system chrome ('views') for any module or component can now be overridden by the template. Default system chrome for each module and component can now be found in directories modules/mod_modulename/tmpl and components/com_componentname/views/layout/tmpl. The pagination chrome can also be overridden in pagination.php.&lt;br /&gt;
&lt;br /&gt;
6. '''Objects and Methods''': The Joomla! 1.5 framework has been re-engineered and now includes the JApplication layer, which contains a number of objects and methods you can reference from the template index.php, &lt;br /&gt;
e.g. &lt;br /&gt;
&amp;lt;jdoc:include type=&amp;quot;head&amp;quot; /&amp;gt; replaces the 1.0.x &amp;lt;?php mosShowHead(); ?&amp;gt;;&lt;br /&gt;
&amp;lt;?php echo $mainframe-&amp;gt;getCfg('sitename');?&amp;gt; replaces the 1.0.x &amp;lt;?php echo $mosConfig_sitename; ?&amp;gt; [N.B. This new method works for all configuration.php parameters];&lt;br /&gt;
&amp;lt;?php // no direct access defined( '_JEXEC' ) or die( 'Restricted access' ); ?&amp;gt; replaces the 1.0.x &amp;lt;?php defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?&amp;gt;&lt;br /&gt;
&amp;lt;?php echo JURI::base();;?&amp;gt; replaces the 1.0.x &amp;lt;?php echo $mosConfig_live_site; ?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7. '''Module Positions''': There is a new way of checking which module positions have content to display on the current page. This logic can be used for collapsible columns (e.g. collapse the left or right column if no content is present). The 1.0.x 'mosCountModules' function has been replaced by the '$this-&amp;gt;countModules', and conditions have been added: you can now use '+', '-', 'or' or 'and', e.g. if($this-&amp;gt;countModules('left or right') == 1).&lt;br /&gt;
&lt;br /&gt;
8. '''Template file structure''': The template directory and file structure has been expanded to include all of the above.&lt;br /&gt;
&lt;br /&gt;
9. '''Accessibility and Standards''': Using template overrides, it is possible to create table-less Joomla! The new parameters and overrides encourage improvements in web standards, accessbility, SEO optimsation (source ordering and markup), language (left to right support) and browser optimisation (browser-dependent CSS).&lt;br /&gt;
&lt;br /&gt;
10. '''Default system template''': The system template (in the /templates directory) has been expanded to include more CSS files and a standard modules.php (module chrome) and component.php (component chrome).&lt;br /&gt;
You can include some of the default CSS files in your template, &lt;br /&gt;
e.g. &lt;br /&gt;
&amp;lt;link rel=&amp;quot;stylesheet&amp;quot; href=&amp;quot;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;templates/system/css/general.css&amp;quot; type=&amp;quot;text/css&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
11. '''Additional Javascript''': there are some additional Javascript libraries available for use in your template. &lt;br /&gt;
e.g. &lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;media/system/js/mootools.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt; &lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;media/system/js/caption.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
These are included in &amp;lt;jdoc:include type=&amp;quot;head&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
12. '''Errors handling''': More default error pages are included in the system template (403.php and 500.php) and a new error message call has been introduced, which must be referenced in your template by &amp;lt;jdoc:include type=&amp;quot;message&amp;quot; /&amp;gt;&lt;br /&gt;
[[Category:Templates]]&lt;/div&gt;</summary>
		<author><name>Chris Davenport</name></author>	</entry>

	</feed>