![]() |
Installed in vB 4.2.0pl2 and it works fine, even with my custom navbar, thanks!
|
I tried this for the CMS, but it hid from everything else not so much the front page which is what I believe is the point. Since all the sections, categories, an other pages use vbms script it needed an extra variable that only the top "Front Page" has. I found a post https://vborg.vbsupport.ru/showthread.php?t=289747 that found such a variable an was able to redesign the code given here. Thanks to brandondrury for discovering the variable.
Pretty much what I think should be standard, but hiding the breadcrumb only on the index/front page as it's not needed if your already there. Since not all other pages are gonna have parentnode variable the breadcrumb was hidden on them to so had to add another condition so it only hides if it's the CMS otherwise use the original code. I didn't wrap the style tags to help with keeping the page from tweeking out. Did notice a loss of space so there could be a height filler added to the style code: Code:
<div id="breadcrumb" class="breadcrumb" style="height:8px;"> REPLACE: Code:
<li class="navbithome"><a href="index.php{vb:raw session.sessionurl_q}" accesskey="1"><img src="{vb:stylevar imgdir_misc}/navbit-home.png" alt="{vb:rawphrase home}" /></a></li> Code:
<vb:if condition="THIS_SCRIPT == 'vbcms'"> |
If you have lots of articles this is bad decision, by me your users in some cases will have trouble...with breadcrumbs it is easy to navigate.
If can be removed ONLY on main CMS page it is ok, but removing breadcrumbs everywhere in articles its a mess Did install, and I just found myself lost in my articles lol Would like to see it only for main page, uninstalled, tagged |
Goxy63, that's what my other post was about, with the code for it even. If your getting lost in your articles dependent on the breadcrumbs might want to add a "Home" tab on your navigation.
|
Thanks for that - appreciate it.
|
All times are GMT. The time now is 01:51 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:
|