![]() |
Adding suffix to pagination links - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Adding suffix to pagination links (/showthread.php?tid=47661) |
Adding suffix to pagination links - El Forum - 12-17-2011 [eluser]machouinard[/eluser] I needed to append '/true' to my pagination links for the controller to check for a setting. I figured out I had to set $config['suffix'] before initializing the pagination library. This works great, but the pagination link to page 1 doesn't include an offset (since it's not needed), nor does it include the '/true' suffix I have set. It simply links back to what I have set in $config['base_url']. Anyone have any ideas how to force the suffix when the offset is not needed? Thanks, Mark |