Member
Member
iceman   2013-02-15, 23:56
#1

hi guys how do i write query to pass to next_album() loop
looking to get a set of sub albums to display one a page.

while (next_album()){
}

Member
Member
sbillard   2013-02-16, 01:51
#2

You would have to code your own functions to do this. The next_album() function is intended for stepping through the list of subalbums in order.

Of course you could skip subalbums you are not interested in by code within the loop. But you would be better off fetching the subalbum list from the album object, pruning it to the list you want then going through that list to display them.

Administrator
Administrator
acrylian   2013-02-16, 11:34
#3

Take a look at the object model tutorial and the documentation.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.