Hi Chad, Thank you very much for your solution. It works perfectly!
Sarah On May 1, 1:02 am, "Killingsworth, Chad A" <[email protected]> wrote: > This will return the number of pages connected to a container: > <%!! Context:CurrentPage.Elements.GetElement(MyContainerName).Value.Count !!%> > > Chad Killingsworth > Assistant Director of Web & New Media > Missouri State University > > > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Sarah > Sent: Friday, April 30, 2010 9:28 AM > To: RedDot CMS Users > Subject: Counting the number of <li></li> elements within a <ul></ul> tag and > outputting the number to the page in RedDot > > I have a template with a <ul></ul> tag which contains a container in > which I create <li></li> elements using another template. I need to > count the number of <li></li> elements and output them to the page > (within the HTML so people with screenreaders can read the value as > well). The list is starting off with over 400 elements and will grow > so I would like to do this automatically. Does anyone know how I can > do this in RedDot please? I've tried with render tags but with no > luck. > > Sarah > > -- > 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 > athttp://groups.google.com/group/reddot-cms-users?hl=en. > > -- > 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 > athttp://groups.google.com/group/reddot-cms-users?hl=en.- Hide quoted text - > > - Show quoted text - -- 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.
