Difference between revisions of "How do you get rid of the breadcrumbs?"

From Joomla! Documentation

Line 1: Line 1:
Breadcrumbs are a core module in Joomla! 1.5 and can be enabled or disabled for all pages directly through the Module Manager in the Back-end. Just navigate to the Module Manager, find the Breadcrumbs Module, and disable it.
+
{{JVer|1.5}}{{JVer|1.6}}<br />
 +
Breadcrumbs are a core module in Joomla! and can be enabled or disabled for all pages directly through the Module Manager in the Back-end. Just navigate to the Module Manager, find the Breadcrumbs Module, and disable it.
  
 
To prevent the breadcrumb pathway from displaying on the Frontpage only, change the code of the index.php file of your template as follows:
 
To prevent the breadcrumb pathway from displaying on the Frontpage only, change the code of the index.php file of your template as follows:
Line 18: Line 19:
 
[[Category:Getting Started FAQ]]
 
[[Category:Getting Started FAQ]]
 
[[Category:Version 1.5 FAQ]]
 
[[Category:Version 1.5 FAQ]]
 +
[[Category:Version 1.6 FAQ]]
 
[[Category:Module Management]]
 
[[Category:Module Management]]

Revision as of 13:16, 10 January 2011

Joomla 1.5Joomla 1.6
Breadcrumbs are a core module in Joomla! and can be enabled or disabled for all pages directly through the Module Manager in the Back-end. Just navigate to the Module Manager, find the Breadcrumbs Module, and disable it.

To prevent the breadcrumb pathway from displaying on the Frontpage only, change the code of the index.php file of your template as follows:

Replace
<jdoc:include type="module" name="breadcrumbs" />
with
<?php if( JRequest::getVar( 'view' ) == 'frontpage' ) { ?>
    <p>&nbsp;</p>
<?php } else { ?>
    <p>You are here: <jdoc:include type="module" name="breadcrumbs" /></p>
<?php } ?>