[Catalyst] PHP::View and Template::Toolkit

mnichols at mojosoft.org mnichols at mojosoft.org
Tue Jun 20 13:26:59 CEST 2006


I have a Template toolkit working and and a PHP view working.  I would
like to be able to use the template toolkit then pass to PHP or vise
versa.  It was suggested that this could be done on irc, I have made
some attempts at this with no luck.  I simply tried to forward on to
the two views but of course as soon as I forward to one thats it. I
tried to use the render and/or process instead of a forward but
without any luck.

$c->stash->{template}="template.with.php.tt"
$c->forward("TToolkit::View");
$c->forward("PHP::View");

If anyone has a better understanding of what catalyst does in the view
layer and might know how to solve this would be appreciated.




Thanks

Mojo




More information about the Catalyst mailing list