[Catalyst] sending a variable to more than one tt2 template

Byron Young Byron.Young at riverbed.com
Fri Mar 7 00:43:43 GMT 2008


You can call another template from within the template you specified in
the stash, and pass the stash parameters along.  I don't use TT, but I
think PROCESS is how you call other templates.
 
HTH
 
Byron

________________________________

From: Emily Heureux [mailto:emily at burnham.org] 
Sent: Thursday, March 06, 2008 2:36 PM
To: 'The elegant MVC web framework'
Subject: [Catalyst] sending a variable to more than one tt2 template



Hi, I have a variable in a Controller method sent to the stash for a
particular tt file.  What if I want that same variable to be available
to another tt file?  I assume I cannot set two templates in one method.

 

Thanks,

Emily

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20080306/dfd62a5b/attachment.htm


More information about the Catalyst mailing list