Page number links

3 posts by 2 authors in: Forums > CMS Builder
Last Post: October 1, 2011   (RSS)

By MickC - September 30, 2011

HI guys,

Got a quick one here:

I have a search page set up, with 2 frames, "Header" and "Content"

"Header" frame contains the drop-downs and parameters for the search, and "Content" displays the results, usually in multiple pages.

The page works great, and does everything I want it to.

The Prev/Next page links on the "content" page all work, and cycle through the appropriate selected records.

The issue I have, is that use Pagination code that allows user select an individual page, but when using an individual page link, the frame reverts to the whole listing, ignoring the specified criteria.

The Prev/next page links use the $listingsMetaData['prevPageLink'] / ['nextPageLink'], and as I said, these work correctly, and pass the search criteria on the the next page, but the individual page links just use "?page=<?php echo ['page']; ?>" and do not pass on the criteria, which results in the whole listing being returned with no filtering.

At the moment, i have the links disabled, so the page numbers are just for indication.

Any Ideas here?

Re: [MickC] Page number links

By Jason - October 1, 2011

Hi,

Take a look at this post:


http://www.interactivetools.com/forum/gforum.cgi?post=77535#77535


Hope this helps get you started
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/