I have a page(a) which has children(x), these children have a container 
which contains instances of other templates(y). I need to get the value 
from one of these (y) onto the top page(a)

I am currently just trying to list the children (y) onto the top page, then 
I can work out how to get the values but I'm getting no output. 
I don't often use foreach so Im getting a little stuck. Any pointers?

<reddot:cms> 
   <foreach itemname="item" object="Context:CurrentIndex.SubIndexes" 
countername="counter"> 
      <htmltext>
         <div class="list-item">
            <img src="http://placehold.it/180x119";>
            <h2><a href="<%!! Store:item.GetUrl() !!%>"><%!! 
Store:item.Headline !!%></a></h2>
      </htmltext>

               <foreach itemname="iteminner" object="Store:item.Elements"> 
                  <output type="object" object="Store:iteminner.Name"/> 
               </foreach> 

      <htmltext>
         <p> <a href="<%!! Store:item.GetUrl() !!%>">Read more ></a></p>
         </div>
      </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 reddot-cms-users+unsubscr...@googlegroups.com.
To post to this group, send email to reddot-cms-users@googlegroups.com.
Visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to