The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
NavTab Drop-Down Menus with Sub-Menu Navbar Replacements - Combining two Mods - HELP!
Hello,
I've been advised to start a help thread on this, so here it is. What I'm trying to do is combine two navbar mods from the following articles:
What Lynne's mod doesn't have that I need:
I've installed three separate tabs on my test site, using the three different methods:
PLUGIN: Hook Location: process_templates_complete Title: NavTab - Calendar Code:
$tabselected = ''; $tablinks = ''; if (THIS_SCRIPT == 'calendar') { $vbulletin->options['selectednavtab']='Event Calendar'; $tabselected = ' selected'; $tablinks = ' <ul class="floatcontainer"> <li><a href="calendar.php?do=add&type=range&c=1">Add New Event</a></li> </ul> '; } global $template_hook; $newTemplate = vB_Template::create('navbar_tab_calendar'); $template_hook['navtab_end'] .= '<li class="popupmenu' . $tabselected . '">' . $newTemplate->render() . $tablinks . '</li>'; TEMPLATE: Title: navbar_tab_calendar Code:
<a href="javascript://" class="popupctrl navtab">Event Calendar <img src="{vb:stylevar imgdir_misc}/arrow.png" style="vertical-align: middle; margin-right: -5px;" /></a> <ul class="popupbody popuphover" style="color:{vb:stylevar navbar_selected_popup_body_a_Color}"> <li><a href="calendar.php?c=1&do=displaymonth" style="text-indent: 0px;">Monthly View</a></li> <li><a href="calendar.php?c=1&do=displayweek">Weekly View</a></li> <li><a href="calendar.php?do=add&type=range&c=1">Add New Event</a></li> </ul> Here is a link to my TEST SITE (v4.0.6) It is .htaccess Password Protected (as required by vB). Credentials are listed below: .htaccess Username: test .htaccess Password: help This will only remain accessible until I find a solution, but I will post any updated code later in this thread so that others can benefit from this as well. This is the only test site that I'm using, so be sure to check the latest post in this thread to ensure there have not been modifications to this code. Here are the PROBLEMS that I am currently noticing with this code:
ANY and ALL help would be greatly appreciated! Thanks! Jeff |
#2
|
|||
|
|||
|
#3
|
||||
|
||||
Quote:
Thanks though. |
#4
|
|||
|
|||
It highlights them for me :\
|
#5
|
||||
|
||||
Can you please provide a link to your site so I can see?
|
#6
|
||||
|
||||
Since Shelby's mod uses templates and my navtabs mod does not, you may find it easier to combine them by looking at ragtek's navtabs mod instead - [HOW TO - vB4] Create a New Tab in the navbar (with template)
|
#7
|
||||
|
||||
I have a list of Mods specialized in just Tabs , using Plugins!
Take a Look please and let me know what you think! https://vborg.vbsupport.ru/member.php?u=242571 Thanks |
#8
|
|||
|
|||
For my drop down box how do I get the hover color to be the same as the normal tabs?
See here... http://biblocality.com/forums/forum.php |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|