PDA

View Full Version : eval template from within a function?


SDB
09-09-2007, 01:30 AM
I have a batch of standard templates that I eval at global_start.

I have a function within an included file, which needs to use these templates.

Is there an easy way to make them available to the function?

calorie
09-09-2007, 02:06 AM
Near the top of the function try adding the following:

global $template1, $template2, $template3;