Please let us know if this works for you
<reddot:cms>
<foreach itemname="Page"
object="Context:CurrentPage.Elements.GetElement(lst_Pages).Value"
countername="counter">
<if>
<query valuea="Store:counter" operator="<" valueb="Int:
10" >
<htmltext>
LESS THAN 10!
</htmltext>
</query>
<query type="else">
<htmltext>
More THAN 10!
</htmltext>
</query>
</if>
</foreach>
</reddot:cms>
On Feb 28, 7:50 am, Jian Huang <[email protected]> wrote:
> Hi Dan,
>
> The foreach rendertag has a counter in there. One can use if condition to
> limit output according to counter.
>
> Will provide code when I get back to office
>
> Sent from my iPhone
>
> On Feb 28, 2011, at 4:48 AM, DanFookes <[email protected]>
> wrote:
>
> > Thanks - actually worked briefly with the guy who wrote that, probably
> > should have thought of looking there :o)
>
> > --
> > 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
> > athttp://groups.google.com/group/reddot-cms-users?hl=en.
--
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.