< Mambo Open Source
TOC
Chapters
Home
Configuration
Design
Content
Development
Miscellaneous

If you want to hide the pathway on the front page, you simply have to wrap it in a piece of PHP code. Here is an example of the code all together:

<?php if ($option == "com_frontpage") { } else { ?>
<tr>
   <td><?php mosPathWay(); ?></td>
</tr>
<?php } ?>

This returns nothing if the variable option = com_frontpage, and gives the code between the php tags if option is anything else than "com_frontpage". This variable can be exchanged with other variables if that is needed, but this works with the default homepage setting in mambo.

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.