Re: [Templates] Processing a plugins output?
[prev]
[thread]
[next]
[Date index for 2005/03/15]
Thanks for the headsup -- Is that the only method to do it? I deally
I would just like to place the tag (it's a plugin to interface with a
CMS) like "[% content("foo") %]" and have it automatically do it?
Sorry for the basic questions, still learning TT.
On Tue, 15 Mar 2005 15:00:51 -0000, Simon Matthews
<sam@xxxxxxxxxxxxx.xxx> wrote:
>
>
> You are looking for the eval filter.
>
> http://www.template-toolkit.org/docs/plain/Manual/Filters.html#eval_evaltt
>
> HTH
>
> S
>
> > -----Original Message-----
> > From: J. Shirley [mailto:jshirley@xxxxx.xxx]
> > Sent: 15 March 2005 14:23
> > To: templates@xxxxxxxxxxxxxxxx.xxx
> > Subject: [Templates] Processing a plugins output?
> >
> >
> > Hey guys,
> > Sorry for this question, I'm sure it gets posted rather
> > frequently but I couldn't find a way to search the archives.
> > I'm trying to build a plugin that will have output that I
> > want to have processed.
> >
> > So, if the plugin outputs "This is my [% foo_variable %]" how
> > do I get the output of the template to be processed accordingly?
> >
> > Thanks,
> > -J
> >
> > _______________________________________________
> > templates mailing list
> > templates@xxxxxxxxxxxxxxxx.xxx
> > http://lists.template-> toolkit.org/mailman/listinfo/templates
> >
>
>
_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates