vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Adding the Navbar into the Header (screenshot) (https://vborg.vbsupport.ru/showthread.php?t=73068)

bamaster 12-19-2004 03:26 AM

Adding the Navbar into the Header (screenshot)
 
I'm trying to insert my Navbar into the Header of my template. I've inserted all the "navbar" template code into the "header" template code using the Styles Manager.

I'm able to view most everything, however the breadcrumbs are not displaying.

Here is a screenshot. Notice the top navbar doesn't have the breadcrumbs:

https://vborg.vbsupport.ru/

Your reply is appreciated.

Tony G 12-19-2004 04:23 AM

That's most likely happening becuase the variables for forumname and category name will not work in the header.

You'd probably need to hack (or possibly through phpinclude) to get them working in there.

bamaster 12-20-2004 02:51 PM

Mess'kin getting desperate over here...

I'll PayPal anyone $10.00 US who can help me fix this. E-mail me or post in here (I'mv subscribed).

Thanks!

Zachery 12-20-2004 02:55 PM

You would need to recode 99% of the way the navbar works, you can move the links, but not the path, into the header, and that would take alot more than 10 dollars to do, it would be a 3-4 hour project at the very very mininum.

bamaster 12-20-2004 03:09 PM

Hmmm... I think I've seen a hack that put the Forums into the Navbar menu... with a dropdown. That might work, huh?

I guess the overall goal is not to not lose the ability to navigate through the Forums... even though they can still just click the Forums button.

Zachery 12-20-2004 03:11 PM

You can add the links but the breadcrumb wont go

darnoldy 12-20-2004 06:33 PM

Quote:

Originally Posted by bamaster
I'm trying to insert my Navbar into the Header of my template.

Several people have told you that you can't do what you originally asked....

but there are some things you could do--not exactly what you want, but closer.

1. As you see in your example, the welcome box *can* be put into the header--I think its a more-appropriate place for it.

2. You can edit the navbar template so that the breadcrumb displays below the navbar itself. This allows the bar to tuck up against the header and makes it look like part of it. The breadcrumb then dangles down into the white space below. I made these changes on my site--was pretty easy.

--don

Michael Morris 12-20-2004 07:41 PM

As others have said, you can only move the navbar linkes in the header.. As seen in this link

http://www.enworld.org/forums/forumd...185&styleid=49

You can accomplish what you want by editting every master display file in vbulletin(forumhome, forumdisplay, showthread, showpost, etc) and place the contents of your header directly into them - but you're in for a grade A migrane if you ever want to change your header.


All times are GMT. The time now is 09: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.01042 seconds
  • Memory Usage 1,725KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (8)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