Hi,

There was a syntax error in Ingo initial reply. You need to close
your </reddot:cms> tag, as below:

<reddot:cms>
<foreach itemname="item"
object="Context:CurrentPage.Elements.GetElement(lst_simple).Value"
countername="counter">
</foreach>
</reddot:cms>
<%!! Store:counter !!%>

Hope this helps

cheers
Pete

2009/1/27 Michael Gomez <[email protected]>

>
> Hi,
>
>
> i use the same code of you, but, nothing happend.
>
> <reddot:cms>
> <foreach itemname="item"
> object="Context:CurrentPage.Elements.GetElement(lst_simple).Value"
> countername="counter">
> </foreach>
> <reddot:cms>
> <%!! Store:counter !!%>
>
> When i see, the html code in preview, the code is not render, only
> show the reddot:cms tag.
> This only work when i publish?
>
> Sorry poor english :P
>
> On 27 ene, 06:00, Pete Wilson <[email protected]> wrote:
> > works perfect! many thanks for that.
> >
> > Pete
> >
> > 2009/1/27 Gavin Cope <[email protected]>
> >
> > > Change <%lst_Offers%> to lst_Offers. With render tags you're not
> calling
> > > the placeholder, you're calling the placeholder name - if that makes
> sense.
> >
> > > Cheers,
> >
> > > Gavin
> >
> > > 2009/1/24 Pete Wilson <[email protected]>
> >
> > >  Thanks for your response.
> >
> > >> Unfortunately my render tag knowledge is limited... so here's what
> I've
> > >> tried, but it doesn't appear to be working, any ideas??
> > >> <reddot:cms>
> > >>     <foreach itemname="item"
> > >> object="Context:CurrentPage.Elements.GetElement(<%lst_Offers%>).Value"
> > >> countername="counter"></foreach>
> > >> </reddot:cms>
> > >> There are: <%!! Store:counter !!%> records in the list.
> > >> Many thanks
> > >> Pete
> >
> > >> 2009/1/23 Ingo Hillebrand <[email protected]>
>  >
> > >>   Hi,
> >
> > >>> you can display the number of lists connected to a list using render
> > >>> tags.
> >
> > >>> Something like this should work:
> >
> > >>> <reddot:cms>
> >
> > >>>                 <foreach itemname="item"
> > >>> object="Context:CurrentPage.Elements.GetElement(your_list).Value"
> > >>> countername="counter">
> >
> > >>>                 </foreach>
> >
> > >>> <reddot:cms>
> >
> > >>> <%!! Store:counter !!%>
> > >>>  ------------------------------
> >
> > >>> *Von:* [email protected] [mailto:
> > >>> [email protected]] *Im Auftrag von *Pete Wilson
> > >>> *Gesendet:* Freitag, 23. Januar 2009 14:38
> > >>> *An:* [email protected]
> > >>> *Betreff:* Displaying the number of item in a list
> >
> > >>> Hello,
> >
> > >>> Does anyone know how I display the number of items in a list on the
> list
> > >>> page?
> >
> > >>> cheers
> >
> > >>> Pete
>
> >
>

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