vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   How to add tags in header? (https://vborg.vbsupport.ru/showthread.php?t=265038)

MyLibary 06-11-2011 09:06 AM

How to add tags in header?
 
Hello guys!

I tried to find the template for the header,

I mean every thing between <head></head>

And i have to add some javascript and flash commands.

Which file controll these? where i can add these fields?

Thanks alot.!!

kh99 06-11-2011 03:33 PM

If you want to put those things in only one page you could edit the template for that page. If you want them in more than one page you could edit the headinclude template. You could include an if to check THIS_SCRIPT if you don't want them to be in every page.

TWood 06-11-2011 04:53 PM

Yes, oddly enough the 'header' template comes AFTER the </head> tag in most pages. Weird. But the 'headinclude' template is BEFORE the </head> tag. Even more weird, because the naming would intuitively imply that 'headinclude' is inside 'header'.

Anyway, the best way to figure out the order is to go to your Admin Control Panel>General Settings>Add Template Name in HTML Comments>set to 'Yes'. Then open a page of your website, right-click, and View Source. That will show you the order of the templates that render the page.


All times are GMT. The time now is 05:10 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.01024 seconds
  • Memory Usage 1,705KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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