vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How do I reorder the navbar tabs on the top? (https://vborg.vbsupport.ru/showthread.php?t=282630)

Fudgyyy 05-08-2012 05:18 PM

How do I reorder the navbar tabs on the top?
 
Right now, the first tab on my list of navbar tabs is "Forum", which obviously links to my forum, www.maddenstudents.com/forum.php. I want to add a "Home" tab, which will link to the index of my site which would be www.maddenstudents.com. How do I do that, and how do I get it to the left of my Forum tab?

Lynne 05-08-2012 05:29 PM

Here's some articles on creating navtabs -
[HOW TO - vB4] Create a New Tab in the navbar
[HOW TO - vB4] How to Add Drop Down Navigation Items to the Navbar
[HOW TO - vB4] Create a New Tab in the navbar (with template)

And here are some mods -
Tabs Add System for vBulletin 4 (sstab advanced)
vBH-Add new tabs
(there are several others also, just search for "*tab*" in vB4 Mods/Titles Only)

Fudgyyy 05-08-2012 05:44 PM

I know how to add a tab, but I don't know how to change the tabs around so that my Home tab comes before my Forum Tab. Like I want it to the read like this

Home | Forum | Tab1 etc

Instead, it would read like this Forum | Home | Tab1 etc.

Lynne 05-08-2012 05:56 PM

Well, if you look at the article about adding a tab, you'll see that you need to pick the $template_hook to add it to. So, if you look in the navbar template, you can see where those are and then pick the appropriate one for the tab you are adding. This includes changing the tab for the Home tab, if needed (which is in a plugin in the plugin manager.)


All times are GMT. The time now is 10:08 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
  • Page Generation 0.00903 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete