Oh boy, a couple of questions and answers in this topic.

1.  According to the official navigation manager and rendertag
documentation, the syntax is

Equal to ==
Not equal to !=
Greater than >
Greater than or equal >=
Less than <
Less than or equal <=

2.  Usage of Context:CurrentIndex.SubIndexes.Value.Count contains
syntax error.  It should be Context:CurrentIndex.SubIndexes.Count as
TonyGayter suggests.

3.  .Count returns an int, so valueb should be "Int:1" as TonyGayter
suggests

4.  .Count does not work in 7.5 or 9, it is a known bug, ID-25716

5.  If you are using 7.5 or 9, please try .Length.

Best regards,

-Jian

On Nov 30, 11:46 am, TonyGayter <[email protected]> wrote:
> It might depend on reddot version. It will work in v10, if your on
> v7.5 try replacing gt with &gt;
>
> <query valuea="Context:CurrentIndex.SubIndexes.Count" operator="&gt;"
>
> valueb="Int:1">
>
> That used to be how I did this in 7.5
>
> On Nov 30, 4:38 pm, Emily Stange <[email protected]> wrote:
>
> > It's my understanding that the operators are:
>
> > Equal to ==
> > Not equal to !=
> > Greater than >
> > Greater than or equal >=
> > Less than <
> > Less than or equal <=
>
> > Please let us know if 'gt' works.
>
> > Also, I'm not a Render Tag expert anymore, but I do know that the
> > below tag works. Perhaps you can use it to see if there's a headline
> > for a second value?
>
> > Headline of first child: <%!! Context:CurrentIndex.SubIndexes[Int:
> > 0].Headline !!%>
>
> > -Emily
>
> > On Nov 30, 11:28 am, TonyGayter <[email protected]> wrote:
>
> > > Try
>
> > > <if>
> > > <query valuea="Context:CurrentIndex.SubIndexes.Count" operator="gt"
> > > valueb="1">
>
> > > On Nov 30, 4:09 pm, SarahC <[email protected]> wrote:
>
> > > > In my nav manager templates I want to identify pages that have more
> > > > than one sub-level page.  I've been trying the following:
>
> > > > <if>
> > > > <query valuea="Context:CurrentIndex.SubIndexes.Value.Count"
> > > > operator=">" valueb="1">
>
> > > > but it doesn't work.  Would anyone have any ideas how I can do this
> > > > please.
>
> > > > Many thanks.- Hide quoted text -
>
> > - Show quoted text -

-- 
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