Hello all, I need the ability to do simple if then else constructs and simple comparisons with render tags and/or a scripting language beyond the render tag capabilities.
One example that contains nested reddot:cms tags in a single foreach tag, all of which I believe are not supported or working. <reddot:cms> <foreach itemname="item" object="Context:CurrentIndex.SubIndexes" countername="counter"> <output type="string"> <htmltext> <li> <a href="<%!! Store:item.GetUrl() !!%>"> <img src="<%!! Store:item.Page.Elements.GetElement(img_SectionImage).GetHtml() !!%>" alt="<%!! Store:item.Headline !!%>" /> </a> </li> </htmltext> </output> <!-- Nested conditional test --> <reddot:cms> <if> <query valuea="<%!! Store:item.counter !!%>" operator="<" valueb="Int: 4"> <htmltext> <div class="divider"> | </div> </li> </htmltext> </query> </if> </reddot:cms> <!-- end if --> </foreach> <!-- end foreach --> </reddot:cms> how do I accomplish this is RedDot. I can find no documentation on the prior ASP like syntax, am I to assume that all classic ASP functions and methods are supported. (if so how do I pass data structures to the ASP functions) I know from prior posts that RedDot is recommending RenderTag over ASP and PreExecute due to performance problems, so what is one to do? Sorry for the long post but I'm getting desperate to solve even the simplest things in RedDot. Regards, Kent --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
