You can nest conditionals like this:

<reddot:cms>
   <if>
      <query valuea="Context:CurrentIndex.HasChildren()" operator="=="
valueb="Bool:True">
         <if>
             <query valuea="" operator="" valueb="">
                <htmltext>


                </htmltext>
             </query>
         </if>
      </query>
    </if>
</reddot:cms>





On Jun 17, 5:59 am, Dave R <[email protected]> wrote:
> Hey,
> I've got a situation where I need to ONLY display something if
> Context:CurrentIndex.HasChildren() is true AND another option element
> is set to show. The current code I'm using is below:
>
>         <if>
>             <query valuea="Context:CurrentIndex.HasChildren()"
> operator="==" valueb="Bool:True">
>                 <htmltext>
>                     <ul class="tier3">
>                         <navigation:nextlevel>
>                     </ul>
>                 </htmltext>
>             </query>
>         </if>
>
> This current results in <ul class="tier3"></ul> being posted
> regardless of what the option element is set to. Well, if it's set to
> show, it displays like it's supposed to.
>
> Anyway, I need to add that second conditional if possible. I'm also
> feeling a bit brain dead today so... please be gentle. ;)
>
> Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.

Reply via email to