Re: [Radiant] Getting the position of a child page within the list of children for its parent

2010-08-22 Thread Wes Gamble
On 8/21/10 7:44 PM, Jim Gay wrote: On Sat, Aug 21, 2010 at 1:33 PM, Wes Gamble wrote: On 8/20/10 5:04 PM, Wes Gamble wrote: On 8/20/10 3:04 PM, Wes Gamble wrote: All, I have a page X, which has several children pages underneath it (say, 10). Is there any relatively easy way to derive the i

Re: [Radiant] Getting the position of a child page within the list of children for its parent

2010-08-21 Thread Wesley Gamble
Thanks for the feedback Jim - will look into the children:each:index approach. W Sent from my iPhone On Aug 21, 2010, at 7:44 PM, Jim Gay wrote: > On Sat, Aug 21, 2010 at 1:33 PM, Wes Gamble wrote: >> On 8/20/10 5:04 PM, Wes Gamble wrote: >> >> On 8/20/10 3:04 PM, Wes Gamble wrote: >> >> Al

Re: [Radiant] Getting the position of a child page within the list of children for its parent

2010-08-21 Thread Jim Gay
On Sat, Aug 21, 2010 at 1:33 PM, Wes Gamble wrote: > On 8/20/10 5:04 PM, Wes Gamble wrote: > > On 8/20/10 3:04 PM, Wes Gamble wrote: > > 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

Re: [Radiant] Getting the position of a child page within the list of children for its parent

2010-08-21 Thread Wes Gamble
On 8/20/10 5:04 PM, Wes Gamble wrote: On 8/20/10 3:04 PM, Wes Gamble wrote: 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

Re: [Radiant] Getting the position of a child page within the list of children for its parent

2010-08-20 Thread Wes Gamble
On 8/20/10 3:04 PM, Wes Gamble wrote: 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 som

[Radiant] Getting the position of a child page within the list of children for its parent

2010-08-20 Thread Wes Gamble
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