FAQ: How do I eliminate the pathway or breadcrumbs?

This is the archive off all FAQ related threads.
Locked
User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7985
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

FAQ: How do I eliminate the pathway or breadcrumbs?

Post by mcsmom » Fri Dec 29, 2006 3:53 pm

The pathway or breadcrumbs is the hierarchical trail that shows where you are on the site. On the homepage it says Home, then when you go to sections, categories, content items, it will show them in order.

If you wish to eliminate the pathway entirely, edit your template html (index) file.  Usually it will look like this:
.


If you wish to eliminate it on a specific page, such as just the home page, you can modify the template in this way:

Code: Select all

<?
	if($option != "" && $option != "com_frontpage")
	{
	?>
		<div id="pathway"> 
			<?php mospathway() ?>
		</div>
	<?
	}
	?>
Understanding:  The first line says that if the option in the url does not equal com_frontpage  (!="com_frontpage") display the pathway. In php ! means not.

The $option != ""  specifies the situation in which there is no option, that is, when your site first loads at index.php.

edited with advice from ChiefGoFor 12/29/06.
keywords: breadcrumb, breadcrumbs, Breadcrumb, Breadcrumbs, Bread crumbs, bread crumb, pathway Pathway
Last edited by mcsmom on Fri Dec 29, 2006 8:13 pm, edited 1 time in total.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

Locked

Return to “FAQ Archive”