Hi Dan,
Dan Horne <dan.horne@xxxxxxxxxxxxx> wrote:
> One way is to use H::T filters. You could have something like <rem>
> and </rem> in your code, and use the filter functionality to remove
> the tags and enclosed content. There will be a performance hit - it
> works okay for me but YMMV
>
> Dan
<rem>...? REM?? REM?!?! Your BASIC is showing, Dan!
LOL -- Then again, I guess that's less to type than the <tmpl_if
i_am_a_comment> tags that litter my templates :-)
-dave
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
|