All,

I have a page X, which has several children pages underneath it (say, 10).

Is there any relatively easy way to derive the index of a given child of X in the list of children of X? So, for example, for the 3rd child, I need to be able to get a 3 somehow in order to construct links.

I'm displaying children using <r:pagination> and I'm generating direct links to the children. I'd like these direct links to reflect the pagination within the context of the parent.

So, for example, I want a link to the 3rd page of X that looks just like the link I get from paginating X, which is: /x/?page=3

I tried just forcing the slugs to be these types of links, but get a bad format error when I try to save the page.

This doesn't seem like it would be that hard to add a tag that derives a child's location within it's set of siblings underneath a parent, if I had to.

Many thanks,
Wes

Reply via email to