From: Steven L. <st...@tu...> - 2004-05-11 13:23:13
|
On Mon, 2004-05-10 at 18:19, Don Seiler wrote: > I've run into a problem with paging that I can't find a solution to yet. > Basically a bug was brought to my attention in phpwsBB where the paging > was broken when viewing the threads within a forum. The main problem > (after correcting a bad var reference) was that I didn't have a way of > passing the designated forum ID to the paging system, so once I began > paging after the first page, I would have no idea which forum I was > viewing the threads for. > > Interested parties can view bug here: > > http://sourceforge.net/tracker/index.php?func=detail&aid=951537&group_id=81260&atid=562402 > > Any list masters know how to add an extra var on the paging URL? Don, The last parameter (#4) for the getList() method of PHPWS_Manager is $overRideOp. I see in your conf/manager.php file that your op for listing threads is: PHPWSBB_MAN_OP=listthreads. You could change your getList() call to something "like" this (not sure how you pass your forum id): $newOp = PHPWSBB_MAN_OP=listthreads&PHPWS_MAN_ITEMS[]=" . $this->forum->getId(); $this->getList("threads", NULL, FALSE, $newOp); Hope this helps. -- Steven |