Den,
I think the following may do what you need:
<reddot:cms>
<if>
<query valuea="Context:CurrentIndex.HasChildren()"
operator="==" valueb="Bool:True">
<htmltext>
<navigation:nextlevel>
</htmltext>
</query>
</if>
<if>
<query valuea="Context:CurrentLevelCount" operator="eqgt"
valueb="Int:3">
<htmltext>
<p>
<a href="<%!! Context:CurrentIndex.GetUrl() !!%>">
<%!! Context:CurrentIndex.Headline !!%> -- <%!!
Context:CurrentDepth!!%> : <%!! Context:CurrentLevelCount !!%>
</a>
</p>
</htmltext>
</query>
</if>
</reddot:cms>
Seems to only display items that are only above a certain level.
Cheers
Jim
On Sep 2, 10:50 pm, Eric Koleda <[email protected]> wrote:
> Hi Den,
>
> I don't believe that render tag syntax uses "gt" or "lt" as
> operators. Instead you should use the XML encoded less than and
> greater than symbols, "<" and ">" respectively. I believe the
> current behavior of render tags is that an unknown operator is
> evaluated as equals.
>
> Best,
> - Eric
>
> On Sep 2, 10:17 am, Den <[email protected]> wrote:
>
>
>
> > Hi.
>
> > Yeah we are using the navigation areas. The only problem is the
> > template we are using.
>
> > In the Navigation Manager manual, there is CurrentDepth and
> > CurrentLevelCount.
> > However everytime we use it with relational operators like gt(greater
> > than) or the like, it only display the last evaluated page. So it only
> > gives one result.
>
> > Thanks.
>
> > Den- 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
-~----------~----~----~----~------~----~------~--~---