Hide Pathway in Home page

Need help with the Administration of your Joomla! site? Pop your questions in here.
Locked
User avatar
Ginza
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 135
Joined: Fri Oct 27, 2006 1:16 am
Contact:

Hide Pathway in Home page

Post by Ginza » Sat Jul 14, 2007 12:43 pm

How will i hide the pathway in home ? I want the pathway to appear in the rest of the page other than the homepage.

Also I would like how to hide the pathway in the homepage and forum page.
Last edited by Ginza on Sat Jul 14, 2007 12:48 pm, edited 1 time in total.
Coming Soon!

User avatar
Chinaman
Joomla! Guru
Joomla! Guru
Posts: 575
Joined: Sun Aug 21, 2005 8:46 am
Location: Perth, Western Australia
Contact:

Re: Hide Pathway in Home page

Post by Chinaman » Sat Jul 14, 2007 2:37 pm

Try this in your template index.php wher the pathway appears
Replace existing with

Code: Select all

<?php
if($option != "" && $option != "com_frontpage" && $option != "com_forum") //If not front page or forum load pathway
{ ?>
<div here>
<?php mospathway(); ?>
</div>
<?php
}
?>
Obviously replacing com_forum with whatevrer component the forum is, and also putting any divs etc, aroind the pathway
Last edited by Chinaman on Sat Jul 14, 2007 2:38 pm, edited 1 time in total.
Joomla! - enjoying every minute of the journey!

User avatar
Ginza
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 135
Joined: Fri Oct 27, 2006 1:16 am
Contact:

Re: Hide Pathway in Home page

Post by Ginza » Sat Jul 14, 2007 5:46 pm

Thanks that works!!
Coming Soon!

User avatar
trip
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 105
Joined: Fri Aug 19, 2005 2:00 pm
Location: Cape Town, South Africa
Contact:

Re: Hide Pathway in Home page

Post by trip » Wed Aug 29, 2007 7:37 am

excellent, this is a neat little feature...
TriP
A clever man learns from his mistakes, but
A wise man learns from the mistakes of others.
http://www.raramuridesign.com / http://www.joomladay.org.za


Locked

Return to “Administration - 1.0.x”