View Full Version : using additional templates


darnoldy
31st August 2006, 08:56 PM
folks-

Back in 3.0.x, i could utilize a newly-created template by adding a line to the global_start template.

i know this has changed in 3.x--that template no longer exists--but I can't remember or find how to do it!

Would someone please be kind-enough to give me directions?

--don

Royalridge
15th September 2006, 01:13 AM
If you mean the "phpinclude_start" template (which was handy for setting a few variables etc.) then you can simply create the template in your style and add the following as a "Plugin" for the global_start hook:

eval(fetch_template('phpinclude_start', -1, 0));

vB will complain a bit when you save it but ignore the complaints and you'll find it works OK.

Oh, and I can't take credit for this, I got it from one of the other vB forums but can't remember which one.