Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 06 Dec 2022, 20:46
mainframe mainframe is offline
Join Date: Jul 2004
Question How to set active buttons on the navbar

I'm currently reverse-engineering the blogs and groups to see how they set the active tab button on the navbar. From what I can tell they use the node id but how could I do that with custom pages?

Edit: seems on nginx servers you need to replace {vb:raw _SERVER.REQUEST_URI} in the header template with {vb:raw page.url} to make tabs activate on custom pages.

Last edited by mainframe; 10 Dec 2022 at 02:07.
Reply With Quote

Similar Threads
Thread Thread Starter Forum Replies Last Post
Miscellaneous Hacks Navbar Buttons Builder by BOP5 (Easily add buttons to the navbar) BirdOPrey5 Modification Graveyard 10 19 Feb 2012 10:22
0 Posters, None Active Members, Active Members and 1 Posters Display Hack. wolfe vBulletin 2.x Full Releases 25 03 Jan 2004 01:35

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 09:30.

Layout Options | Width: Wide Color: