Support Forums

Old 01-28-2008, 06:45 PM   #1
Member
 
Join Date: Dec 2006
Posts: 96
Rep Power: 11
objelland is on a distinguished road
Default userbrowselistings - pagination

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
objelland is offline   Reply With Quote
Old 01-28-2008, 08:06 PM   #2
Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,329
Rep Power: 39
Mike-N-Tosh is just really niceMike-N-Tosh is just really nice
Default

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
Mike-N-Tosh is offline   Reply With Quote
Old 01-29-2008, 11:07 AM   #3
Member
 
Join Date: Dec 2006
Posts: 96
Rep Power: 11
objelland is on a distinguished road
Default

Thank you for your reply.
I will give what you suggest a try :-)

Regards,
Oyvind
__________________
objelland
V3.1.5b Developer
objelland is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 03:32 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0