|
|
#1 |
|
Member
Join Date: Dec 2006
Posts: 96
Rep Power: 11 ![]() |
Hi
Is there a way to add pagination to the userbrowselistings page? I have a site where the listings per user is a very high number, and I would like to be able to use the pagination so that the user do not have to scroll his way down... Does anyone know how to go about this? Thanks Regards, Oyvind
__________________
objelland V3.1.5b Developer |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,329
Rep Power: 39 ![]() ![]() |
I don't know exactly how you would do that precisely, however if it was me, I would start by looking at category.php & searchresults.php as those are the files that are used for all of the other paginated views. You could most likely steal, er... um... borrow the code from there and incorporate it into the userbrowselistings.php.
You would probably also need to adjust the code in the userbrowselistings.tpl.php file to accommodate the pagination code as well. That could be seen in the showlisting.tpl.php and showlisting2.tpl.php files. Hope that helps, -Mike
__________________
Mike-N-Tosh v3.1.10 Developer IndianaPC.org - A community website Sandbox v4.0.9, 4.1 Templates, Mods & Docs for sale | My blog with much content for 68 Classifieds. Web Hosting | Web Design & Development | 68 Classifieds Customizations I am not a 68C employee, just a user and try to help out |
|
|
|
|
|
#3 |
|
Member
Join Date: Dec 2006
Posts: 96
Rep Power: 11 ![]() |
Thank you for your reply.
I will give what you suggest a try :-) Regards, Oyvind
__________________
objelland V3.1.5b Developer |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sorting userbrowselistings | GSP | v3.1 Questions & Support | 2 | 07-26-2007 09:56 AM |
| Userbrowselistings variable | bgordon | v3.1 Questions & Support | 1 | 12-30-2006 09:45 PM |
| Expired ads showing as "Active" on userbrowselistings | civ | v3.1 Questions & Support | 16 | 09-21-2006 05:03 PM |
| Pagination broken in admincp browseusers.php - easy fix | civ | v3.1 Questions & Support | 0 | 07-27-2006 12:06 AM |