Thanks for your advise (both previous replies) I've done some further research and got this to work:-
<reddot:cms> <foreach itemname="eventPage" object="Context:CurrentPage.Elements.GetElement (lst_pageNavigation).Value" countername="eventCounter"> <output type="object" object="Store:eventPage [Int32:eventCounter].Elements.GetElement(con_Body).Value [Int32:0].Elements.GetElement(stf_EventName).Value" /> <output type="object" object="Store:eventPage [Int32:eventCounter].Elements.GetElement(con_Body).Value [Int32:0].Elements.GetElement(stf_EventFromDate).Value" /> <output type="object" object="Store:eventPage [Int32:eventCounter].Elements.GetElement(con_Body).Value [Int32:0].Elements.GetElement(stf_EventToDate).Value" /> <output type="object" object="Store:eventCounter" /> <output type="object" object="Escape:Br" /> </foreach> </reddot:cms> This correctly loops through all the pages connected to a list and correctly retrieves the values...the only issue is that they are of course output directly to the page. What I really need is to be able to parse the return values into an ASP array. Apologies if I'm being a numpty and missing the obvious, but how can this be achieved? Thanks in advance Phil On 29 Jan, 08:12, "Ingo Hillebrand" <[email protected]> wrote: > Hi, > > you can put your code into a Render Tag foreach-loop. > This would be something like this: > <reddot:cms> > <foreach itemname="item" > object="Context:CurrentPage.Elements.GetElement > (lst_pageNavigation).Value"> > <htmltext> > <%!! > Store:item.Elements.GetElement(con_Body).Value > [Int32:0].Elements.GetElement(stf_EventName).Value !!%> > </htmltext> > </query> > </reddot:cms> > > Something this way - this script has not been tested! > But keep in mind, that Render Tag are not able to sort the Pages > according the Pagebuilder Object in RedDot SmartEdit / SmartTree --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
