vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=242)
-   -   [HOW TO - vB4] Create a New Tab in the navbar (https://vborg.vbsupport.ru/showthread.php?t=226914)

Lynne 04-30-2010 02:23 AM

I can't tell whether you are talking about the CMS or not. If so, the place you should look for documentation is on vb.com > click the Home tab there and read all the articles about it.

If you are simply talking about adding another page and then linking to that page with a navtab, then this is the article to create the navtab, and if you look at my profile, you will find the article to create your own custom pages.

darsalles 05-01-2010 09:26 PM

Hi there Im having a small problem... the tab creates sucesfully but when I click on it and enter the section, the navbar selected it still on "Forum" instead of the section I want.

How could I change this D:??

Lynne 05-01-2010 09:45 PM

Quote:

Originally Posted by darsalles (Post 2030322)
Hi there Im having a small problem... the tab creates sucesfully but when I click on it and enter the section, the navbar selected it still on "Forum" instead of the section I want.

How could I change this D:??

You need to have the condition set correctly for your tab to show as 'active'. What condition are you using?

Jonas Clark 05-03-2010 06:34 PM

I want to use this to put navlinks before the Home tab and then rename the hometab to CMS or Community.

How do I do this?

Thanks

Lynne 05-03-2010 11:01 PM

Make sure you pick the appropriate template_hook location to put the tab before the Home tab. You may have to change the order on it to put it before or after the Home tab.

Jonas Clark 05-04-2010 02:07 PM

--------------- Added [DATE]1272985806[/DATE] at [TIME]1272985806[/TIME] ---------------

Quote:

Originally Posted by Lynne (Post 2031389)
Make sure you pick the appropriate template_hook location to put the tab before the Home tab. You may have to change the order on it to put it before or after the Home tab.

Hi Lynne,

I'm a complete novice... can you show me how?
I used $template_hook['navtab_start']

Lynne 05-04-2010 05:22 PM

Quote:

Originally Posted by Jonas Clark (Post 2031632)
--------------- Added 04 May 2010 at 08:10 ---------------


Hi Lynne,

I'm a complete novice... can you show me how?
I used $template_hook['navtab_start']

OK, and what was the result? And have you tried changing the execution order of the plugin?

Jonas Clark 05-05-2010 04:49 PM

So the executing order is 5, should it be 1? If so... how do I rename Home (for the CMS frontpage tab) to Articles?

Lynne 05-05-2010 06:10 PM

Quote:

Originally Posted by Jonas Clark (Post 2032204)
So the executing order is 5, should it be 1? If so... how do I rename Home (for the CMS frontpage tab) to Articles?

Try 1 and see.

Edit the phrase "site" to change "Home"

mclarens 05-07-2010 10:16 PM

Hey Lynne, great tread, can finaly add links to my nav bar.

This might be abit offtopic but, i was thinking to change my "Home" button on the navbar to another side and been searching around without no exacly explainable answer how to to do that.
Do you know how to do that or where i can find the answer on that? :)


All times are GMT. The time now is 02:03 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04346 seconds
  • Memory Usage 1,736KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete