[Templates] Fw: NEXT in Template:Toolkit
Drew Taylor
dtaylor@vialogix.com
Tue, 01 Aug 2000 13:23:53 -0400
> Jo Ellen Wisnosky wrote:
>
> is there an equivalent to perl's NEXT within the Toolkit?
I ran into this problem as well. I solved it in my case by simply
wrapping the HTML/code in an internal IF statement. Not my first choice,
but it works in this case. It may or may not work for you. It looks
something like the following:
<? FOREACH item = list ?>
<? IF some_condition ?>
Do something here
<? END ?>
<? END ?>
--
Drew Taylor
Vialogix Communications, Inc.
501 N. College Street
Charlotte, NC 28202
704 370 0550
http://www.vialogix.com/