How do you get rid of the breadcrumbs?
From Joomla! Documentation
Revision as of 01:22, 2 September 2013 by Wilsonge (talk | contribs) (removed Category:Version 1.6 FAQ using HotCat)
Revision as of 01:22, 2 September 2013 by Wilsonge (talk | contribs) (removed Category:Version 1.6 FAQ using HotCat)
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" />
<?php if( JRequest::getVar( 'view' ) == 'frontpage' ) { ?>
<p> </p>
<?php } else { ?>
<p>You are here: <jdoc:include type="module" name="breadcrumbs" /></p>
<?php } ?>
<?php
$app = JFactory::getApplication();
$menu = $app->getMenu();
if ($menu->getActive() == $menu->getDefault()) { ?>
<p> </p>
<?php } else { ?>
<p>You are here: <jdoc:include type="module" name="breadcrumbs" /></p>
<?php } ?>