Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/templates/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Templates SilverStripe3:模板中的多行注释_Templates_Comments_Multiline_Silverstripe - Fatal编程技术网

Templates SilverStripe3:模板中的多行注释

Templates SilverStripe3:模板中的多行注释,templates,comments,multiline,silverstripe,Templates,Comments,Multiline,Silverstripe,在SilverStripe 3中,如何在模板文件中放置多行注释?单行注释可以使用(或html方式,该方式将发送到浏览器,但不显示。) 据我所知,silverstripe模板中没有多行注释。 一个难看的解决办法是,如下所示: <% if false %> some comment text here <% end_if %> 一些 评论 文本 在这里

在SilverStripe 3中,如何在模板文件中放置多行注释?

单行注释可以使用
(或html方式
,该方式将发送到浏览器,但不显示。)

据我所知,silverstripe模板中没有多行注释。 一个难看的解决办法是
,如下所示:

<% if false %>
    some
    comment
    text
    here
<% end_if %>

一些
评论
文本
在这里