![]() |
Pagination - 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: Pagination (/showthread.php?tid=15946) |
Pagination - El Forum - 02-19-2009 [eluser]JHackamack[/eluser] I've been playing around with pagination and noticed I have to type in the base_url every time for class to work, although I like it better with the anchor helpers anchor('','home') links to home. On line 173 of pagination.php I've made the following changes Code: if ($CI->config->item('enable_query_strings') === TRUE OR $this->page_query_string === TRUE) That way when you call the baseurl config value for pagination you only need: Code: $config['base_url'] = 'index.php/home/assetSearch/page/'; |