This question has been answered by smashingred. See the first response.
I have a couple of getResources questions. First, is it possible for getResources to select random child resources. For example out of 30 child resources, can getResources randomly choose 10 of them?As far as fetching resoures you can &sortby=`RAND` and &limit=`10` but I am not sure how it fetches the results if it would fetch the first 10 and then sort them randomly.
getResources does index the items. You can set the index start integer using the &idx property. Additionally, there are already templates available for &tpl, &tplOdd, &tplFirst, &tplLast and tpl_N.
Second question. When getResources gets resources, does it index them, i.e. resource #1, resource #2, etc. I ask because, via php, I want to test each resource as it is gathered and test whether its index is even or odd. If its index is even, do THIS if its index is odd, do THAT.
Thanks