[Catalyst] HOWTO reference config settings from template

Jeff Chimene jchimene at gmail.com
Fri Apr 13 22:59:03 GMT 2007

Jeff Chimene wrote:
> Hi,
> I'm not sure if this is a Catalyst question -
> How do I reference __PACKAGE__config settings from a Template Toolkit 
> template?
> I'd like to use the config tool to set values outside the stash.
> Cheers,
> jec
OK. After much research, it turns out that the "correct" answer is:
    "modify the config/main file to add the constants you require. Then, 
reference them in your TT2 templates"
This doesn't negate the other responses received; which answers further 
explicate the relationship between Catalyst and TT2.


More information about the Catalyst mailing list