![]() |
Hi all
Well, here goes my first v2 hack :) This hack will replace the linear nav bar (Board Title > Category > Forum > sub forum) nav bar with a cascading one, where the categories drop down and indent. Unfortunately, this hack will only change the navbar that is generated by vB, it won't change the hard coded nav bars in pages like the member list/profile. I still have to figure out how to do that. The hack is clunky, probably could be done in 4 lines of code instead of what I've done it in, and be cleaner, but I've tested it down to a depth of 6 and it seems to work clean, and that's all that matters right now :) I'm working on changing the hard coded sections to use the CP flag, so that this can work on the site and change if the CP changes. Kathi File: Post #41 Demo: http://www.underlight.com/VBB Installer file for latest version now at Post #41. If you have installed this before the timestamp of that post, you should be fine. |
have you got a demo?
|
Quote:
There's a version of it at www.underlight.com/VBB Kathi |
i think ill give it a bash
it looks good cheers |
i did it word for word and nothing happened
do you think this is because i run vbportal? |
Quote:
Kathi |
i got it working
heres what i done *set the nav bar settings to yes like you said *wrapped the $altnavbits round a smallfont like this <smallfont>$altnavbits</smallfont>, to make the text to appear smaller (obviously) * removed the spaces before the imagefolders in functions.php the casvertline.gif doesnt look right though, see how its yellow instead of white look at my attached image |
Quote:
Kathi |
thanks - appreciate it
also, i didnt like the big white space which this new bar left at the right so i added a banner in this space using this code Code:
<table border=0> |
Nice use. Underlight's nav buttons will be taking up the space on that site, but I don't know what anyone else is using, so I just leave it up to them.
Now if only you could see the light and admit that Albion rules :) Kathi |
All times are GMT. The time now is 01:42 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:
|