Bradley Baetz <[EMAIL PROTECTED]> writes:

> Is there an easy way to discover if a template exists? 

Just [% TRY %] to [% PROCESS %] it and [% CATCH %] the file errors.

Or define a DEFAULT template in the configuration.  IIRC you don't get
to know *which* template was missing, though.  [% component.name %]
shows the name of the DEFAULT template, not the name of the original
one. 
-- 
Cheers,
haj


_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to