vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Navbar above header (https://vborg.vbsupport.ru/showthread.php?t=180314)

Alex@Mk3OC 05-23-2008 09:59 PM

Navbar above header
 
Hi

I have a second navbar called navbar2, but i want to place it so it appears right at the top of the pages, above the logo and header bits, with no gap above it, but I can't seem to figure out where and in what template to place the $navbar2 code.

Any help would be greatly appreciated.

iogames 05-23-2008 10:05 PM

Dang you confuse me!
so you have a 2nd navbar? where do you put it? who put it?
as far as I concern, navbar's code are located on NAVBAR Template...

Please post your site or a screenshot

Brandon Sheley 05-23-2008 10:09 PM

in the header template ?

Alex@Mk3OC 05-23-2008 11:30 PM

Site is www.mk3oc.com/forum

We have a 2 row navbar already but i want to add a navbar above our logo right at the top of the page, but have tried putting the $navbar2 code in the header and it won't display the bar at all anywhere. I put it in the forum display template and that worked, but it wasn't quite right at the top.

Dismounted 05-24-2008 04:53 AM

In your templates, you will have to find "$navbar", and move it above "$header". By default, it is below "$header".

Alex@Mk3OC 05-24-2008 11:10 AM

I've done that in my forum display template, i put "$navbar2" above "$header" but it didn't show up at all

SEOvB 05-24-2008 11:24 AM

You probably need to change the location of the plugin.

If you simply place $navbar2 at the top of the header template and with the correct plugin location it should work on all templates

Alex@Mk3OC 05-24-2008 04:55 PM

What do you mean location of the plugin? I'm still quite new to all this vb stuff

Dismounted 05-26-2008 06:08 AM

What is the hook location of the plugin?

SEOvB 05-26-2008 07:05 AM

Quote:

Originally Posted by Alex@Mk3OC (Post 1530192)
What do you mean location of the plugin? I'm still quite new to all this vb stuff

What modification are you using to create the navbar2 template?

If you simply made a template and called it navbar2 that won't work. You'll need to create a plugin to eval this template so you can make calls to it, and you should also have one to cache the template to save quieries i think.


All times are GMT. The time now is 10:24 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.01839 seconds
  • Memory Usage 1,728KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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