Hi, That looks like valid code, although I would put the list in HTML comments, because there are occasionally problems with the RedDot Mode/ No RedDot Mode combination.
Another way to get the count is with RenderTags: <%!! Context:CurrentPage.Elements.GetElement (list_special).Value.Count !!%> There are some strange issues with caching that can arise when using RenderTags like this, so I'd test that it updates correctly when adding or removing a page. Best, - Eric On Aug 22, 12:08 pm, Kristaps Karlsons <[email protected]> wrote: > Hello. > > Which is the correct way, to create a simple list counter? > > <% intCountMe = 0 %> > <!IoRangeList><!IoRangeRedDotMode><!IoRangeNoRedDotMode><%list_special > %><!/IoRangeNoRedDotMode><!/IoRangeRedDotMode> > Count: <% Response.Write(intCountMe) %> > <% intCountMe = intCountMe + 1 %> > <!/IoRangeList> > - doesn't seem to work. > > Had anybody encoutered this problem? > I'm developing ver 7.5. > > Tutorials are welcome, as much as quick solutions. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
