esolutions
-
6/13/2013 3:35:57 PM
Repeater pathing
Hi,
I have a site where I need to display links pages based on the current level in the document tree. So for example the following pages are set up: Top Level Node Products & Rates Products Product 1 Child 1 of Product 1 Child 2 of Product 1 etc
Right now, to display all the child pages of Product 1 a repeater has been set up with the path as /{0}//{1}/{2}/%. The document type of Product 1 as well as the document type of Product 1's children and CMS.MenuItem have been assigned as the document types. The links to Child 1 of Product 1, Child 2 of Product 1, etc displays on the Product 1 page.
I now need to do something similar for the child pages of Product 1. Only this time I need to display the links to the pages a that current level. So if I was on Child 1 Product 1 I would have links to Child 1 of Product 1, Child 2 of Product 2 and so on. But I can't seem to get it to work. The document types are correct but no matter what type of pathing I use the page links won't show up. I've even tried to add /Products-Rates/Products/Product 1/% t the repeater path on the template that is used by Child 1 of Product 1, etc. and it hasn't worked. Any ideas?
|