Support Joomla!

1.5 Template Project

The Joomla! Documentation Working Group is running a project to develop detailed reference and tutorial material on Joomla! 1.5 templates.  There is a project page on the documentation wiki where you can see the work in progress and help us by contributing your knowledge.

Who's Online

We have 108 guests online

Help Site License

The Joomla! Help Site content is copyright © 2005 - 2008 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution NonCommercial ShareAlike 2.5. Some parts of this website may be subject to other licenses.
Home arrow FAQs

How do I eliminate the pathway or breadcrumbs?
Author(s):Experience level:Beginner
Contributors:Joomla! version:1.0
Date added:Sunday, 11 March 2007Date last changed:Tuesday, 15 May 2007
 
The pathway or breadcrumb is a hierarchical trail that shows your current location on the site. The breadcrumb follows the Section, Catgory, Content Item hierarchy and a site's home page is always listed as the root of the hierarchy as "Home".

An example is as follows; You are currently reading a content item "New Page". This content item is a member of the "Pages " category. In the turn the pages category is a member of the "Books" section. In this case the breadcrumb for that page would look like: "Home >> Books >> Pages >> New Page".

If you wish to eliminate the pathway entirely, edit your template html (index) file. Usually it will look like this:
<div id="pathway">
<?php mosPathWay(); ?>
</div>

If you wish to eliminate it on a specific page, such as just the home page, you can modify the template in this way:
New line:if($option != "" && $option != "com_frontpage")
New line:{
New line:?>
Existing:<div id="pathway">
Existing:<?php mosPathWay(); ?>
Existing:</div>
New line:}
New line:?>
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.

Last Updated Tuesday, 15 May 2007
Tags
< Prev   Next >

Powered by EasyFAQ © 2006 Joomla-addons.org