Hi Chirs,
I haven't touched Xaraya for some time, so this response may
be too late for
you.
But I did something similar so that I could get some drop
down navigation
menus working on my site. From memory, I traversed the array
by using a key
value, but I can't remember the details. I've been out of
coding for too
long.
I documented what I did, but I am not sure if the News Group
allows
attachments. So if you want details, drop me a line and I'll
send the
document and corresponding files to you.
Cheers,
Wayne
"Chris Wheatley" <clwheatley hotmail.com> wrote in message
news:fe2u5k$6o9$1 newton.xaraya.com...
> Dracos,
>
> Thanks for the idea, though I had tried it. For some
reason it didn't work
> as I expected and I couldn't figure out why. I haven't
worked on it in a
> few weeks, but if memory serves me, I did something
like if next($item)
> blah, then this_blah.
> I expected Xaraya to show me "Array" for my
item, instead it gave me the
> first child value of each parent array. Weird...
>
> Chris
>>
>> Hi Chris,
>>
>> You'll probably have to utilize the next(), prev(),
and current() PHP
>> functions in your template in order to move the
internal array pointer so
>> you can peek around in the items array. This would
allow you to avoid
>> copying item data into new varaibles.
>>
>>
>> Dracos
_______________________________________________
Xaraya_devel mailing list
Xaraya_devel xaraya.com
http:
//xaraya.com/mailman/listinfo/xaraya_devel
|