Hi all:<br><br>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.<br><br>So I replace [% %] with <? ?> tags, and write these codes in my MyApp.pm<br>
<br>__PACKAGE__->config(<br> name => 'MyApp',<br> 'View::TT' => {<br> # any TT configurations items go here<br> INCLUDE_PATH => [<br> MyApp->path_to( 'root', 'src' ),<br>
MyApp->path_to( 'root', 'lib' ),<br> ],<br> TEMPLATE_EXTENSION => '.tt',<br> CATALYST_VAR => 'c',<br> TIMER => 1,<br>
START_TAG => '<?',<br> END_TAG => '?>',<br> },<br> #TIMER => 1,<br> #START_TAG => '<?',<br> #END_TAG => '?>',<br>
);<br><br>But seems START_TAG and END_TAG are not forwarded to TT.pm class.<br><br>Is there any other Template class to achieve this?<br><br>Thanks in advance.<br clear="all"><br>-- <br>Gung Shi Jie<br>Department of Computer Science and Information Engineering,<br>
National Chung Cheng University<br>Republic of Taiwan<br>