Pagination error |
[eluser]Thiago Leao[/eluser]
my pager is giving the following error. Not getting the bold lyrics that I'm just one page. And the first page, is not as link. 1 2 3 > controller Code: function listar($id_user, $offset=''){ model Code: function filtrarBusca($id_user, $maximo, $inicio){ anywhere help? thanks
[eluser]InsiteFX[/eluser]
Your missing this! Code: $config['uri_segment'] = 4; InsiteFX
[eluser]Thiago Leao[/eluser]
did not work!! Code: function listar($id_user, $offset=''){
[eluser]Thiago Leao[/eluser]
did not work! was actually what I said paging "works" but there's no turning Go to Page 1, and she gets bold! thanks
[eluser]InsiteFX[/eluser]
Quote:did not work! What do you mean by the above? If page 1 is bold then page 1 is the selected page! Code: $config['first_link'] = 'First'; CodeIgniter User Guide - Pagination Class InsiteFX
[eluser]Thiago Leao[/eluser]
nothing appears, only appears: 1 2 3> Code: $inicio = $this->uri->segment(4,0);
[eluser]InsiteFX[/eluser]
There are other options to the first link that's why I said to read the User Guide! InsiteFX
[eluser]Thiago Leao[/eluser]
but I do not know what to do, I read the paging class! http://ellislab.com/codeigniter/user-gui...ation.html
[eluser]Thiago Leao[/eluser]
I discovered that the fact that a bold stand, is because of the $ cur_page! He's like $ cur_page = 0, but the one that is getting checked, what do I do? thanks! |
Welcome Guest, Not a member yet? Register Sign In |