Hi Octavian -

> > Is it possible to define a macro in a single place and access it in
> > all the templates?

[cut]

> Now I just need to find how I can include this in Catalyst...

You should be able to put variables, MACROs and BLOCK definitions in a
file like "my_config_stuff.tt", and then do something like:

   MyApp->config->{'View::TT'}->{PRE_PROCESS} = 'my_config_stuff.tt';


Larry

_______________________________________________
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to