<?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>John Crumpton &#187; joomla</title>
	<atom:link href="http://www.johncrumpton.com/category/joomla/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.johncrumpton.com</link>
	<description></description>
	<lastBuildDate>Tue, 11 May 2010 20:57:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Joomla hide breadcrumbs on specific pages</title>
		<link>http://www.johncrumpton.com/joomla-hide-breadcrumbs-on-specific-pages/</link>
		<comments>http://www.johncrumpton.com/joomla-hide-breadcrumbs-on-specific-pages/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 08:54:14 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[joomla]]></category>

		<guid isPermaLink="false">http://www.johncrumpton.com/?p=153</guid>
		<description><![CDATA[There are times when you want to hide Joomla&#8217;s breadcrumb, for example the homepage or search results.
In your template add the following where you want your breadcrumbs to appear:

&#60;div id=&#34;breadcrumbs&#34;&#62;
&#60;?php
if ( ( $_REQUEST['option'] != &#34;com_frontpage&#34; ) and ( $_REQUEST['option'] != &#34;com_search&#34; ) and ( $_REQUEST['option'] != &#34;com_xmap&#34; ) ) { ?&#62;
    &#60;jdoc:include [...]]]></description>
			<content:encoded><![CDATA[<p>There are times when you want to hide Joomla&#8217;s breadcrumb, for example the homepage or search results.</p>
<p>In your template add the following where you want your breadcrumbs to appear:</p>
<pre class="brush: php;">
&lt;div id=&quot;breadcrumbs&quot;&gt;
&lt;?php
if ( ( $_REQUEST['option'] != &quot;com_frontpage&quot; ) and ( $_REQUEST['option'] != &quot;com_search&quot; ) and ( $_REQUEST['option'] != &quot;com_xmap&quot; ) ) { ?&gt;
    &lt;jdoc:include type=&quot;modules&quot; name=&quot;breadcrumbs&quot; /&gt;
     &lt;?php } ?&gt;
&amp;nbsp;&lt;/div&gt;
</pre>
<p>This hides the breadcrumb from the home page (com_frontpage) the search results (com_search) and the site map, in this case Xmap (com_xmap). Make sure your breadcrumb mobile appears in the &#8220;breadcrumb&#8221; module position.</p>
<p>To hide a specific page add:</p>
<pre class="brush: php;"> ( $_REQUEST['id'] != &quot;8&quot; )</pre>
<p>Where 8 is the id of that page. You can also do this for a task as well as an option, just adjust $_REQUEST['option'] to $_REQUEST['task'].</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johncrumpton.com/joomla-hide-breadcrumbs-on-specific-pages/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Joomla search results uses homepage template</title>
		<link>http://www.johncrumpton.com/joomla-search-results-homepage-template/</link>
		<comments>http://www.johncrumpton.com/joomla-search-results-homepage-template/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 10:52:11 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[joomla]]></category>

		<guid isPermaLink="false">http://www.johncrumpton.com/?p=116</guid>
		<description><![CDATA[If you use several templates on your Joomla site, such as a homepage template and a global template, you&#8217;ll know that the search results page irritatingly uses the homepage template and not your global template.
It is possible to change this by adding a hidden field to the search module, here&#8217;s how:
Within your homepage template folder [...]]]></description>
			<content:encoded><![CDATA[<p>If you use several templates on your Joomla site, such as a homepage template and a global template, you&#8217;ll know that the search results page irritatingly uses the homepage template and not your global template.</p>
<p>It is possible to change this by adding a hidden field to the search module, here&#8217;s how:</p>
<p>Within your homepage template folder create a new directory called &#8220;html&#8221; and then &#8220;mod_search&#8221;</p>
<p>Copy the &#8220;default.php&#8221; file from /modules/mod_search/tmpl/ into your newly created &#8220;mod_search&#8221; folder under your template folder.</p>
<p>Open this file at near the bottom just before the end of the form add:</p>
<pre class="brush: xml;"> &lt;input type=&quot;hidden&quot; name=&quot;Itemid&quot; value=&quot;2&quot; /&gt;</pre>
<p>The value refers to the menu item, we need to create a new hidden menu in the administrator, add a search menu item, make a note of the menu&#8217;s Item ID, then add this to the above code under the value.</p>
<p>Don&#8217;t publish the hidden menu in the module manager, we&#8217;ve just creating this to get the Item ID of the search page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johncrumpton.com/joomla-search-results-homepage-template/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
	</channel>
</rss>
