PDA

View Full Version : Adding Links to the Forum Navbars?


Gomojoe
12-11-2010, 03:17 PM
I can add links the home navbar and these also show up on the "What's New" page. However, I have not been able to get these same links to show up in the navbar on the forum or thread pages. Any idea where to get these in?

Lynne
12-11-2010, 05:27 PM
You would edit the navbar template (or use one of the template_hooks). Just made sure to add the links under the Forum area of the navbar instead of the What's New area.

Gomojoe
12-11-2010, 11:12 PM
I guess that is my issue. I've read through the whole template and am not entirely sure where the forum section is. Would you be able to give me the preceeding code to look for?

Lynne
12-12-2010, 04:21 AM
This template_hook is at the beginning of the sub-menu for the Forums:
{vb:raw template_hook.navbar_start}

And this at the end:
{vb:raw template_hook.navbar_end}

So add your new sub-menu item between them.

Gomojoe
12-12-2010, 04:35 PM
Looks like that is getting me on to the sub-navbar. I was wanting to add links to the main navbar on the forums page. Thank you very much for your help by the way!

Lynne
12-12-2010, 06:53 PM
Well, you can add new navtabs by either installing a modification that does this, or I wrote an article on how to write a plugin to do that - it's linked in my profile.