While templates are supposed to be (almost) pure html, I want to insert comments in the templates (for my benefit... all those loops within loops get confusing after a while) that I don't want printed in the browser. Would be nice to have some kind of meta template comment tag that is stripped out while filling the templates on the server. Something like --


<!-- this is an html comment --> <b>Some html here</b>

<<!-- this comment doesn't get printed in the html -->>
<<!-- start loop foo -->>
<tmpl_loop foo>

        <<!-- start loop bar -->>
        <tmpl_loop bar>

                <<!-- start loop baz -->>
                <tmpl_loop baz>

                        <!-- today's blah gets printed in the browser -->
                        <tmpl_var blah>

                </tmpl_loop baz>
                <<!-- end loop baz -->>

        </tmpl_loop bar>
        <<!-- end loop bar -->>

</tmpl_loop foo>
<<!-- end loop foo -->>
                



-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to