PDA

View Full Version : Plug In or Product Question


Moya
09-23-2005, 05:36 PM
Would it be possible to add something like


<SCRIPT TYPE="text/javascript">
<!--
some function
//-->
</SCRIPT>


Into the headinclude section via plug in, product.. ? I am trying to learn this please forgive me :nervous: :nervous:


Thanks

Andreas
09-23-2005, 05:40 PM
Doing that globally is a bit tricky.
But you can just edit Template headinclude.

Moya
09-23-2005, 05:49 PM
Doing that globally is a bit tricky.
But you can just edit Template headinclude.

Uhmmm how would we go about doing it globally?

Thanks

Andreas
09-23-2005, 05:54 PM
1.) Make a new Template myheadinclude
2) cache_templates

$globaltemplates[] = 'myheadinclude';


3) global_start

$vbulletin->templatecache['headinclude'] .= $vbulletin->templatecache['myheadinclude'];

Moya
09-23-2005, 06:00 PM
Oh thanks KirbyDe

I will try it.