vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Articles Tab highlighted on NAVBAR while on Home Page (https://vborg.vbsupport.ru/showthread.php?t=287636)

Nelson58 09-09-2012 01:45 AM

Articles Tab highlighted on NAVBAR while on Home Page
 
Hi guys,

I recently modified my CMS on my site www.Hobby-Machinist.com so that the site lands on a home page which is the parent of the CMS system.

There is an Articles section that brances off from the main page. Yet, when you land on the site or hit "Home", "Articles" still appears highlighted on the main Navbar.

Can someone walk me thru or provide the link here on how to set my Home tab to be highlighted (the set_navigation_tab_vbview hook location) and deactivate the Articles plugin (or else set your plugin with a different Execution Order).


Thanks!!


Nelson
www.Hobby-Machinist.com

snakes1100 09-09-2012 01:56 AM

Did you create the Home tab via the Navigation Manager?

The Article tab has the "Tab Script" set, which is would be the same as the Home tab would need, so that its highlighted, you would need to customize the Home tabs "Tab Script" name and set it.

Ive nvr tried to set it up like that, as its technically using the same script.

Nelson58 09-09-2012 02:15 AM

1 Attachment(s)
Quote:

Originally Posted by snakes1100 (Post 2363916)
Did you create the Home tab via the Navigation Manager?

The Article tab has the "Tab Script" set, which is would be the same as the Home tab would need, so that its highlighted, you would need to customize the Home tabs "Tab Script" name and set it.

Ive nvr tried to set it up like that, as its technically using the same script.

Yes, I used the Navigation manager to create the Home tab.

How would I reset the tab script and what would I set it to?

(screen shots attached)

Thanks,


Nelson

snakes1100 09-09-2012 02:17 AM

This should help you out.

https://www.vbulletin.com/forum/show...-Documentation

Nelson58 09-14-2012 10:54 AM

Quote:

Originally Posted by snakes1100 (Post 2363921)

I don't write PHP.

However, I did add the TabID to each link, and that did make the tab I wanted highlighted.

It does not change the breadcrumbs however.

Nelson


All times are GMT. The time now is 04:47 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.01944 seconds
  • Memory Usage 1,717KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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