Wednesday 09 February 2005 5:53:25 am
Do the same fetch-operation as you did to fetch the news or galleryitems, but use list_count or tree_count instead of list or tree. If you have the number of items, divide it by 5 and than you can see how many pages there are. Like this:
{ceil(div($treecount, 5))}
Hope this helps, Tom
|