[SOLVED] Pagination and URI Routing Problem |
[eluser]Rob Rightmyer[/eluser]
We are having problems using pagination in conjunction with URI routing. Things are working as expected except the "current" page is not advancing when each pagination link is clicked. Routes.php: Code: $route['gallery2/:num'] = "gallery2/index"; Gallery2.php (controller): Code: <?php If I've ommitted any information that would be helpful in solving this please let me know.
[eluser]Rob Rightmyer[/eluser]
After a little more digging, I found my answer here: http://ellislab.com/forums/viewthread/87304/ Needed to add this config line to my pagination: $config['uri_segment'] = '2'; Everything works great now. |
Welcome Guest, Not a member yet? Register Sign In |