Forums

Welcome, Guest
Username: Password: Remember me

TOPIC: Custom Pagination

Custom Pagination 2 years 6 months ago #2955

  • Bibbity
  • Bibbity's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
PLEASE HELP!! I want to navigate between listings by custom order or alpha order. How do I change pagination to do this and NOT by ID number?? This is very important for our website's vendor list. ID order does not make sense when browsing through vendors.
Detailed step-by-step instructions please.
The administrator has disabled public write access.

Custom Pagination 2 years 6 months ago #2961

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 1641
  • Thank you received: 178
  • Karma: 43
You can try to edit this file: components\com_judirectory\models\listing.php
Function:
protected function getNextPrevItem($listing, $type = 'next')
Line ~838
Edit the SQL yourself to match your needs.
Last Edit: 2 years 6 months ago by admin.
The administrator has disabled public write access.
The following user(s) said Thank You: Bibbity

Custom Pagination 2 years 6 months ago #2971

  • Bibbity
  • Bibbity's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
Thank you very much this helped tremendously. :cheer:
The administrator has disabled public write access.
Time to create page: 0.245 seconds
Powered by Kunena Forum