* jamie.echlin at ubs.com <[EMAIL PROTECTED]> [2004/02/26 17:38]:
> Hi, 
> 
> Is it possible to create a new filter that is a chain of existing
> filters from within TT, and not perl? I often find myself using
>  | html | html_line_break | clickable
> and so on, but I would like to do:
> stdfilt = | html | html_line_break | clickable
> 
> I'm sure something like that is possible but cannot find in docs...

You could do it within your template with a MACRO:

  [% MACRO stdfilt(text)
        text | html | html_line_break | clickable
  -%]

Invoke as:

  [% stdfilt(stuff) %]

(darren)

-- 
You are what you see.

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to