[Templates] Plugin won't work after PROCESS?

Hann, Brian Brian.Hann@umb.com
Thu, 23 Jan 2003 10:25:00 -0600


I fixed it.  I tried an INCLUDE and that worked.  Then I realized I
wasn't USEing the plugin in the template I was including via PROCESS.
I added a USE directive and now it works fine.  Is this the best way to
do things?  Does PROCESS just obliterate plugins if they aren't
in the included template?

Brian


-----Original Message-----
From: darren chamberlain [mailto:dlc@users.sourceforge.net]=20
Sent: Thursday, January 23, 2003 10:07 AM
To: templates@template-toolkit.org
Subject: Re: [Templates] Plugin won't work after PROCESS?


* Hann, Brian <Brian.Hann at umb.com> [2003-01-23 11:03]:
> I'm using a custom plugin in my templates.  I use it to call a method,

> which works fine at the beginning of the template but after I call=20
> PROCESS to include another template the calls no longer work.  Is=20
> there a reason for this?  The calls work fine if I comment out the=20
> PROCESS.

You'll need to include the relevant portions of the plugin for us to be
able to tell you anything, I think.

(darren)

--=20
Your only obligation in any lifetime is to be true to yourself.  Being
true to anyone else or anything else is ... impossible.
    -- Richard Bach

_______________________________________________
templates mailing list
templates@template-toolkit.org
http://lists.ourshack.com/mailman/listinfo/templates