Re: [chris] $selectedCategory and Pagination conflict?
Hello,
We are experiencing the same problem with including the category number within the URL and then trying to use the pagination. We have tried the solution Dave wrote - placing the "&lastNum=0" at the end of nexp/prev links, but this has not helped. In fact, with Dave’s recommendation in place and when the “next” link is clicked we receive an HTTP 404 Not Found error. The example URL is displayed below.
http://www.mydomain.com/pages/list.test.php?service_categories=5&page=2&lastNum=0
We are using CMS Builder v2.04. Why would we get a 404 error? If we remove the “&lastNum=0” the page displays, but with the wrong category content (category 2 is display when it should be category 5). Are we missing some additional code within the php file?
Attached is our sample file. You’ll note a list section is commented out, that’s another complication with an additional table. One thing at a time, pagination first.
Any help in getting our page to work with proper pagination is appreciated!
Thanks,
studio-a