In SilverStripe 3, How can I put multiline comments in template file ?
相关问题
- Google Test - generate values for template class i
- Template Specialization for Private Types
- zero length variadic expansion of ill-formed call
- Move product meta to the description tab in WooCom
- Implicit type conversion in c++ template
相关文章
- C++ Template specialization to provide extra membe
- C++: How to use unnamed template parameters in cla
- Templates, Function Pointers and C++0x
- Detect if C++ lambda can be converted to function
- Why is using base class definitions in non-deduced
- Applying multiple tuples to the same function (i.e
- play2 framework my template is not seen. : package
- C++ template function for derived class with std::
single line comments can be done with
<%-- my comment --%>
(or the html way<!-- my comment -->
which will be sent to the browser, but hidden not displayed.)as far as I know, there is no multiline comment in silverstripe templates. An ugly work around would be
<% if false %>
, like so: