[Neos] [NEOS] About comments on html template

Aske Ertmann aske at moc.net
Thu Jun 11 22:59:56 CEST 2015


Hi

Try using the <f:comment> view helper.

Cheers,
Aske

On Thu, Jun 11, 2015 at 7:27 PM, Jean Claude <jccosse at gmail.com> wrote:

> hello,
>
> if I insert 'comment'  <!-- xxxxxx  --> in a template html page,
> the comments are in the source page, but, if there is code as for example :
>
> <!--
>                 <div id="directMenu">
>                         <div class="panel-group" id="accordion"
> role="tablist" aria-multiselectable="true">
>                                 {directMenu -> f:format.raw()}
>                         </div>
>                 </div>
> -->
>
> in this case,  the {directMenu -> f:format.raw()}
> is displayed entirely in the source code of the page,
>
> but of course it is not displayed simultaneously with the page.
> if there is an error in the code, the page is not displayed ..
>
> is there a way to ignore all the codes that are in the comments ?
> Ok, I know, the first solution is not to put them !..  :)
>
> thank you
> jean-claude
> _______________________________________________
> Neos mailing list
> Neos at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos
>



-- 
Venlig hilsen Aske

Webudvikler, team lead
MOC A/S
4692 3435 / 4333 2200
moc.net


More information about the Neos mailing list