Umm,  why not just put a regular HTML comment in your <TMPL_IF> conditionals? Wouldn't 
that accomplish the same thing?

I don't understand how this would be useful. All it would be is extra typing, 
considering that <TMPL_COMMENT>content</TMPL_COMMENT>
is quite a bit longer than <!--content-->

What's the utility?

-DJCP


----- Original Message ----- 
From: "Ulrike Schmidt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 19, 2001 9:24 AM
Subject: [htmltmpl] FAQ: <TMPL_COMMENT>


> Hello,
> 
> I just was about to make a suggestion that seems to have been made long
> ago and then several times again (see below) as I found out when I
> searched through the archive.
> 
> Since this search took quite a while and the question seems to be a FAQ:
> could this be included in the documentation FAQ? And could this FAQ also
> be made available via <[EMAIL PROTECTED]>?
> 
> Best, Uli
> 
> 
> > On Fri, 12 Nov 1999, Matthew Wickline wrote:
> > 
> > > What would y'all think of a facilty to allow template comments?
> > > These would be like comments in HTML, but could be stripped out
> > > by HTML::Template before the source was sent to the end user.
> > > 
> > > 
> > > <TMPL_COMMENT>
> > >     End user would never see this remark
> > > </TMPL_COMMENT>
> > 
> > How about:
> > 
> > <TMPL_IF COMMENT>
> >       As long as no one defines COMMENT, this won't be in the output...
> > </TMPL_IF>
> > 
> > Or is that just too ugly?  This feature wouldn't exactly be the easiest
> > thing in the world to implement, but it would be possible...  Hmmmm...  
> > What say the peanut gallery?
> > 
> > -sam
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to