I'm trying to pull content from a container (X) within a page on a list (Y) 
to display on the main page (Z) where the list resides.

I'm placing this code on page Z, but instead of displaying the date from X 
under each individual event (it has a grid structure), it's displaying ALL 
the start dates in the list under ALL the events blocks.

<!IoRangePreExecute>
 <reddot:cms>
<foreach itemname="SubPage" 
object="Context:CurrentPage.Elements.GetElement(lst_row1).Value">
<htmltext>
<%!! 
Store:SubPage.Elements.GetElement(con_body).Value[Int:0].Elements.GetElement(stf_StartDate).GetHtml()
 
!!%>
</htmltext>
</foreach>
</reddot:cms>
<!/IoRangePreExecute>

I've tried placing it within and outside the <!IoRangeList><!/IoRangeList> 
for the lst_row1 and I've tried taking it out of the <!IoRangePreExecute></
!IoRangePreExecute>, both to no avail. Either it repeats All the dates 
under all the events or it displays all the dates in one string once.

Any ideas as to what I'm doing wrong or how I can fix this?

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/reddot-cms-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to