![]() |
Removing "New Posts" From Navbar
I tried to remove the "New Post" link from the navbar yet it messed up my search drop down menu functionality in IE.
This is what I am trying to remove: Code:
<if condition="$show['member']"> Code:
<if condition="$show['member']"> |
If you want to just remove the link:
Go to: Navigation/Breadcrumb Templates / navbar Find and then remove the code in green or you could just easily place the <!-- & --> so you don't have to remove the code. Code:
<if condition="$show['popups']"> Thankyou to LionDen for the info. |
That worked great. However I am getting a stray "-->" on my page in IE. Also, in IE, the "New Post" does not go away.
I tried to delete the green code, but it mucks up the search dropdown on the navbar: The code in green at the end is the stray characters that show on my page: Code:
<!-- <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> Also, there are 2 places on the page where I need to apply this change. |
Code:
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> |
It still keeps keeps the "Today's Posts" in the navbar. This is for IE only. When I remove this too, the search link looses it's popup feature in IE:
Code:
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td> |
Find and Remove/Comment Out: (There are 2 instances of this code, only remove the first)
Code:
<if condition="$show['member']"> |
Thanks acidburn0520 but commenting out does not work with this code. I put <!-- and --> as tags, but the NEW POST and or TODAYS POST does not go away in IE.
WHen I remove the code entirely, the search link becomes a direct link to the search page and loses it's popup menu attribute. |
Well that's strange. What version of vB are you running? Because I tested it on my 3.6.0 board, it worked fine; the Search dropdown still works.
|
Yea tested it with mine as well and everything acidburn and myself have suggested worked just fine.
|
My solution worked for me on 3.5.5 in IE. Sorry it didn't help you.
|
All times are GMT. The time now is 07:06 AM. |
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:
|