Catalyst::View::TT::Layout - Layout TT template processing
in the appliction:
$c->stash->{template_layout} = [ 'main_layout.tpl', 'sub_layout.tpl' ];
in the template files ('main_layout.tpl' and 'sub_layout.tpl'):
[% PROCESS $LAYOUTS.shift %]
A Layout version of the Catalyst TT view.
Overrides process to let template could be layout.
process
Catalyst. Catalyst::View::TT
Chunzi, chunzi@chunzi.org
chunzi@chunzi.org
SRI, for writing the awesome Catalyst framework
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
To install Catalyst::View::TT::Layout, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::View::TT::Layout
CPAN shell
perl -MCPAN -e shell install Catalyst::View::TT::Layout
For more information on module installation, please visit the detailed CPAN module installation guide.