vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   $navbar in $header - ? (https://vborg.vbsupport.ru/showthread.php?t=63529)

Kedmyster 04-06-2004 07:54 AM

$navbar in $header - ?
 
first of all, i'm not sure if this is th right place,
if it's not then i'm sorry.

Anyway, it's kind of a stupid question, though I tried to use the $navbar template in the $header template (after modifications) and it didn't include it.
I viewed the HTML page after it compiled, but nothing from the $navbar template appeared to be in the code.

Can I do such a thing anyway, or do I have to edit any files?
Thanks in advance,
Kedmyster.

Kedmyster 04-06-2004 02:44 PM

it is that stupid?! that's why no one answers? heh
Sorry for the question, i'm new to vb3 and wasn't really good with coding the vb2 anyway.

Zachery 04-06-2004 03:38 PM

Quote:

Originally Posted by Kedmyster
it is that stupid?! that's why no one answers? heh
Sorry for the question, i'm new to vb3 and wasn't really good with coding the vb2 anyway.

You would need to copy the navbar code into the header, rather than trying to call the varible inside of it.

Why do you want the navbar in the header anyway

Kedmyster 04-06-2004 03:56 PM

ahh ok ;)
Well, I wanted to isolate the navigation from the login box/private message, so I deleted some stuff from the navbar.
Anyway, if that's the only way, thanks!

MindTrix 04-06-2004 04:34 PM

Quote:

Originally Posted by Zachery
You would need to copy the navbar code into the header, rather than trying to call the varible inside of it.

Why do you want the navbar in the header anyway

Also just out of interest, shouldnt a official member of the vb team also say something along the lines of

"This is a template question, please visit www.vbulletintemplates.com"

:)

Boofo 04-06-2004 06:36 PM

I already did. ;)

Zachery 04-06-2004 06:38 PM

Quote:

Originally Posted by MindTrix
Also just out of interest, shouldnt a official member of the vb team also say something along the lines of

"This is a template question, please visit www.vbulletintemplates.com"

:)

Its an iff subject, if he wants the varible in the header he would need to modify quite a few files.

Kedmyster 04-07-2004 02:39 PM

Well, I did we you told me and just copied all that I want from the $navbar into $header
This was my first idea actually, but I thought it could be done by using templates include.
Thanks anyway.


All times are GMT. The time now is 08:04 AM.

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.00976 seconds
  • Memory Usage 1,724KB
  • 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
  • (3)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