Check out Phil's article: http://www.reddotcmsblog.com/digging-deeper-with-navigation-manager-render-tags-%E2%80%93-a-beginner%E2%80%99s-guide
He provides examples on how to incorporate a 'counter' within a foreach loop.. just add a conditional around it which will exit the loop once you have reached a certain amount (in this case 10 pages) Cheers, Kim On Feb 25, 9:55 pm, DanFookes <[email protected]> wrote: > Hi all > > Any help on the following would be appreciated. I've got a left hand > navigation that is created using render tags as follows: > > <foreach itemname="SubIndex" > object="Context:CurrentIndex.Parent.SubIndexes"> > > Then the code. This lists every sibling page that the page you are on > has. However, is there any way to limit this to only show a certain > number of pages (ie, the first 10?) > > Thanks. I'm a bit of a simpleton regarding render tags, so the more > idiot-proof your explanation is the better :o) -- 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.
