![]() |
Remove forum link from breadcrumbs in only one forum
I want to remove the forum link in the breadcrumbs of the navbar from only one forum. I use this forum for users to post bulletins in. These bulletins then appear to all members in their usercp.
I want to remove this link so that members don't feel like they're actually posting a message on a forum. So I guess I need some sort of if statement that checks the forum that the topic is posted in / being posted in and removes the link to the forums in the breadcrumbs of the Navbar. Can anyone help me out? |
You may put a condition around the part of the breadcrumbs you don't want to show.
HTML Code:
<if condition="$forumid != 'x'"> |
1 Attachment(s)
Thanks Lynne, worked perfect. :)
Can you tell me why this replacement variable doesn't parse in the page title and parses both conditions of the if statement shown in the attached image please? Code:
<if condition="$forumid != '97' ">Post New Thread<else /> |
So it worked, or it didn't work? And what template are you doing this in? If you are in the navbar template, you may have to use $foruminfo[forumid] instead of just $forumid.
|
It worked great to remove the navbits that I wanted gone, thanks again. :)
But I tried using the same IF statement in a replacement variable to replace Post New Thread with Post New Bulletin when in forumid 97. |
I'm not understanding your second statement about using a replacement variable. You mean you used that in Styles & Templates > Replacement Variable Manager? I don't think you can use conditions in there. That condition I wrote is a template condition.
|
Yes, that's what I used. Thanks for the info. :)
|
All times are GMT. The time now is 09:03 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|