Hi Bobby, maybe Phil's beginners guide can help you to achieve your goals: www.reddotcmsblog.com/digging-deeper-with-navigation-manager-render-tags-–-a-beginner’s-guide
It describes how to get values using render tags for data over more than one level On May 27, 6:39 am, Wayne Bouwmeester <[email protected]> wrote: > You can likely do what you need to with Render tags. > Here's some code I used to get at a bunch of images that were in pages > on a specific list off the home page > The code loops through each of the pages on a list, and gets the image > from the img_flashBanner element. > If it is the first element, it adds it to the string, subsequent get > separated with a comma. It was used in some JS. > Gives you an idea of what you can do. > It might be a little frustrating getting the syntax down - but I think > it's possible. > Wayne. > > <reddot:cms> > <foreach itemname="flashImagePage" > object="Context:CurrentIndex.GetPathArray()[Int: > 1].Page.Elements.GetElement(lst_flashImages).Value" > countername="ficounter"> > <if> > <query valuea="Store:ficounter" operator="==" valueb="Int:0"> > <htmltext> > flashImages = '<%!! Store:flashImagePage.Elements.GetElement > (img_flashBanner).GetHtml !!%>'; > </htmltext> > </query> > <query type="else"> > <htmltext> > flashImages += ',<%!! Store:flashImagePage.Elements.GetElement > (img_flashBanner).GetHtml !!%>'; > </htmltext> > </query> > </if> > </foreach> > </reddot:cms> > > On May 18, 4:35 am, bobbykjack <[email protected]> wrote: > > > I have the following structure: > > > [] Page one > > = List one > > [] Page two > > = List two > > [] Page three > > - Field 1 > > > List two can be limited to a single item, if that makes things easier/ > > possible. Is there a mechanism allowing me to refer to Field 1 in Page > > one? I guess I need to 'transfer' a list, at some point, and I'd like > > to do all of this without resorting to additional scripting (e.g. RQL/ > > ASP/etc.) if at all possible. > > > Thanks, > > > - Bobby --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
