Access Keys:
Skip to content (Access Key - 0)
Home (Access Key - 1)
All spaces... (Access Key - 3)
Log in (Access Key - 5)
Sign up (Access Key - 6)
Templating

Mambo Manual is part of the documentation project for the Mambo open source content management system

Toggle Sidebar

Hiding Pathway on Frontpage


If you want to hide the pathway breadcrumb on the frontpage of your Mambo web site you simply have to wrap it in a snippet of PHP code.

Here is an example of the code:

<?php if ($option == "com_frontpage") { } else { ?>
 tables or divs that contain the pathway
  <?php mosPathWay(); ?>
 closing tables or divs that contain the pathway
<?php } ?>

The Mambo frontpage is always called by com_frontpage. The pathway (also known as "breadcrumbs")is a Mambo function called mosPathWay. What this code does is tell Mambo that if the content is using com_frontpage then do not output the mosPathWay code. If the content is not using the variable option of com_frontpage then the pathway will be displayed.

Toggle Sidebar
Space Navigation
Added by Lynne Pope on 28 Dec, 2007 03:18, last edited by Lynne Pope on 19 Sep, 2008 08:15

Adaptavist Theme Builder Powered by Atlassian Confluence
Free theme builder license