Re: [chris] Prev/Next Links on List Page
Thanks Chris! That did the trick however on one of my results pages, it is not working. This page has the geocoder plugin code on it so I am not sure if something on there is causing it not to work properly because on my other results page, it works great. Here is my page where it works fine that uses part of the geocoder plugin:
http://www.piedmontparent.com/publications/findmagazine/results.php
Here is the page that contains additional geocoder plugin (also contains distance search coding):
http://www.piedmontparent.com/publications/findmagazine/distanceresults.php
This page doesn't work on these areas:
1. the area that shows how many records 1-4of 8.
2. I have 8 listings in the database so I set the code to show 4 per page to test the prev/next links:
list($mag_locaterRecords, $mag_locaterMetaData) = getRecords(array(
'tableName' => 'mag_locater',
'perPage' => 4,
));
But when I use the search to get to this page, it shows all 8 records and the prev/next doesn't work as well as the showing 1-4of 8.
Here is the search page:
http://www.piedmontparent.com/publications/findmagazine/search.php
The top search goes to the results.php page and that works fine. The distance search is the one not working and it goes to the distanceresults.php page. I have included that page of code as an attachment as well if you need to look at it.
Thanks!
April