Hi all:
I create an app called MyApp, and wish its templates could be edit by DW or
other HTML editors, without displaying [% %] template tags in HTML view.
So I replace [% %] with <? ?> tags, and write these codes in my MyApp.pm
__PACKAGE__->config(
name => 'MyApp',
'View::TT' => {
# any TT configurations items go here
INCLUDE_PATH => [
MyApp->path_to( 'root', 'src' ),
MyApp->path_to( 'root', 'lib' ),
],
TEMPLATE_EXTENSION => '.tt',
CATALYST_VAR => 'c',
TIMER => 1,
START_TAG => '<?',
END_TAG => '?>',
},
#TIMER => 1,
#START_TAG => '<?',
#END_TAG => '?>',
);
But seems START_TAG and END_TAG are not forwarded to TT.pm class.
Is there any other Template class to achieve this?
Thanks in advance.
--
Gung Shi Jie
Department of Computer Science and Information Engineering,
National Chung Cheng University
Republic of Taiwan
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/