The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Placing $navbar in the header ... impossible?
The Subject: line explains it all.
In my forum (see http://www.cyburbia.org/forums/ ), I'd like to display the navbar at the top of the page, below my header image and web site navigation tabs. (If you visit the page, you'll see a header that I want to duplicate across all the pages on the Web site. The "crumb tail" will be in the grey area.) Thing is ... I've been told that $navbar is generated after the header is generated. I was told once "just post the contents of the $navbar template where you want it to go," but unfortunately that doesn't work either. I tried searching for such a hack here, without much luck. Can $navbar be placed in the header? |
#2
|
||||
|
||||
the answer is no, because the header is created in the global.php, and this file is included before you can make your navbar
ok, lets say it is doable, but you have to add some code into global.php, and because the navbar isn't just created in one function it would be very much code... |
#3
|
||||
|
||||
Sigh. Thanks anyhow.
Lemme' ask another question. (Yes, I've Googled everywhere to find an answer, with no luck.) Are there any HTML tricks you can use to generate $navbar in its normal spot, but display the results up in a "receiving area" that would be in the header area? The HTML would be where it normally is, but the $navbar appears somewhere else. I tried CSS and DHTML tutotial sites, without much luck. Thanks, Dan |
#4
|
||||
|
||||
AFAIK you can do it with javascript or DHTML. For example one trick I can think of is to put a form box in the very top of your screen and update the form box with your $navbar value with say "onload" trigger. It's a bit awkard but I'm sure a javascript wiz can find a better way to handle it..
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|