We are trying to implement rendertags for a section
In a placeholder "<%stf_guid2%>", we are having a comma seperated Page GUID
values. We need to get some elements from the page and i have tried as
below mentioned.
This code splits the value and iam getting GUID. But iam not able to get
the values using "Store:Item". Can you please help us on this.
<foreach itemname="Item"
object="Escape:Text(<%stf_guid2%>).Split(Escape:Text(,))"
countername="ArrayItemCounter">
<htmltext>
<%!! Store:ArrayItem !!%>
<h2>URL:<%!! Context:Pages.GetPage(Guid:Store:Item).GetUrl(Bool: True)
!!%></h2>
<h2>Headline:<%!! Store:Item[Int32:ArrayItemCounter].Headline !!%></h2>
<h2>Element:<%!!
Store:Item.Page.Elements.GetElement(con_banner).Value[Int32:ArrayItemCounter].Elements.GetElement(stf_subtitle).Value
!!%></h2>
<%!!
Store:Item.Page.GetElementByName(con_body).Value[Int32:ArrayItemCounter].GetElementByName(txt_abstract).GetHtml()
!!%>
</htmltext>
</foreach>
</reddot:cms>
--
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.