This snippet is used to hide specific elements on the front page only, that are not hide-able using the home menu parameters (menu->main menu->home). For example, you may want to hide the breadcrumbs only on the front page.
The magic lies within the $option variable, whose value is equal to the component name. In this case, you are looking for the value, com_frontpage.
To hide the breadcrumbs only on the front page, you would use:
<?php if ( $option != "com_frontpage" ) : ?>
<?php mosPathway(); ?>
<?php endif; ?>
This example is specifically tested with Joomla 1.0.x
Speak Your Mind