[MTOS-dev] testing var for empty before using in mt:loop

Steve Ivy steveivy at gmail.com
Thu May 1 15:26:10 PDT 2008


I can't test it right now, but will that work if foo_loops exists but is empty?

On Thu, May 1, 2008 at 3:21 PM, Timothy Appnel <tim at appnel.com> wrote:
> If I'm understanding your question then something like this should do it:
>
>  <mt:if name="foo_loops">
>   <mt:loop name="foo_loops">
>   ...
>   </mt:loop>
>  </mt:if>
>
>  Or are you mean something else? If I am mistaken could you provide a
>  code sample of what you are trying and more specifics the purpose?
>
>  <tim/>
>
>  --
>  Timothy Appnel
>  Appnel Solutions
>  http://appnel.com/
>



-- 
Steve Ivy
http://redmonk.net // http://diso-project.org
This email is: [ ] bloggable [x] ask first [ ] private


More information about the MTOS-dev mailing list