Gossamer Forum
Home : Products : Links 2.0 : Customization :

Comment tag for templates mod?

Quote Reply
Comment tag for templates mod?
Hi,

I tried doing this myself, but Perl is not my strong point :-)

I'm looking for a mod of the Extended parser that would allow comments in the templates. I could use <!-- comment text -->, but this is output to the resulting page. Here's an example of what I would love to find :-)

<%comment%>
Add my comments here.
Everything betwween and including these two tags will be striped out of the resulting page.
<%endcomment%>

Has this been done already? If not, could you give me some pointers on how it could be done?

Thanks,

Patrick


Quote Reply
Re: Comment tag for templates mod? In reply to
Hi Again,

I just realised I could use:

<%if 0%>
Comment text
<%endif%>

To get the same effect. Thanks for reading anyway :-)

Patrick