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

[eluser]Unknown[/eluser]
hi ,
i don't like the urls that codeigniter pagination makes!!they looks awful to me!
for example it makes
Code:
http://localhost/admin/mng_posts/10
http://localhost/admin/mng_posts/20
http://localhost/admin/mng_posts/30
how could i change the 10 to 1 , 20 to 2 , and so on!
#2

[eluser]Otemu[/eluser]
Hi,

Just set the following:

Code:
$config['use_page_numbers'] = TRUE;

Quote:By default, the URI segment will use the starting index for the items you are paginating. If you prefer to show the the actual page number, set this to TRUE.

http://ellislab.com/codeigniter/user-gui...ation.html




Theme © iAndrew 2016 - Forum software by © MyBB