PDA

View Full Version : Removing forumhome breadcrumb


HPIA
10-27-2006, 09:32 PM
I want it to be gone from the main page, but for it to be visible when you click on anything other than forum home. Possible?

RS_Jelle
10-27-2006, 09:36 PM
Just edit the FORUMHOME template and remove $navbar from it ;)

And when you only want to remove the breadcrumbs, not the entire navbar, then you have to edit the navbar template and wrap this conditional around the breadcrumbs code:
<if condition="THIS_SCRIPT == 'scriptname'">the breadcrumbs code</if>

HPIA
10-27-2006, 10:02 PM
Hmm, I dont fully understand. I plan on not using the navbar eventually, and I know how to get rid of it. I want to use the feature underneath the banner logo instead of the navbar which falls under the breadcrumb, of course. Get what I mean? :)

HPIA
10-28-2006, 10:15 PM
I figured out what I need to do! Thank you!

DiMoNd21
02-01-2008, 09:09 AM
Just edit the FORUMHOME template and remove $navbar from it ;)

And when you only want to remove the breadcrumbs, not the entire navbar, then you have to edit the navbar template and wrap this conditional around the breadcrumbs code:
<if condition="THIS_SCRIPT == 'scriptname'">the breadcrumbs code</if>

Is there any way to include two scriptnames in this condition?

Thank you!

Dismounted
02-01-2008, 09:25 AM
<if condition="in_array(THIS_SCRIPT, array('scriptname1', 'scriptname2'))">