Welcome Guest, Not a member yet? Register   Sign In
Pagination
#8

[eluser]BravoAlpha[/eluser]
[quote author="skeletonfriend" date="1195522636"]
Code:
// controller
$config['base_url'] = base_url() . 'blog/';
[/quote]
The Pagination class will look for the page number at "uri_segment" 3 by default; However, in your `base_url`, it would be the second segment.


Messages In This Thread
Pagination - by El Forum - 11-19-2007, 01:37 PM
Pagination - by El Forum - 11-19-2007, 03:18 PM
Pagination - by El Forum - 11-19-2007, 03:40 PM
Pagination - by El Forum - 11-19-2007, 08:19 PM
Pagination - by El Forum - 11-20-2007, 04:09 AM
Pagination - by El Forum - 11-20-2007, 04:57 PM
Pagination - by El Forum - 11-20-2007, 05:04 PM
Pagination - by El Forum - 12-18-2007, 01:29 AM
Pagination - by El Forum - 12-19-2007, 08:02 PM
Pagination - by El Forum - 12-19-2007, 09:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB