2 Dec 07, 2005 20:47
I've been experimenting and digging around since my post.
I have discovered that even if I say to get one post, $ItemList->get_total_num_posts() will return the total number of posts that match the search criteria. So that is good.
Now, I'm trying to figure out how to get the 12th/8th/nth/randomth post within that number. Right now I cannot see how $ItemList->get_item() can get anything other than the first in the stack of posts that ItemList() returns. Currently I am looping through the stack until I hit the nth post and using that one. Since my test pool is only 18 that isn't so bad, but more than that and it will be a problem.
Am I just missing something as I look at the ItemList.class functions? or is this something that the current state of code doesn't address.