Welcome Guest, Not a member yet? Register   Sign In
Pagination in search result
#11

[eluser]natefons[/eluser]
oh, and set config
$config['enable_query_strings'] = FALSE;
#12

[eluser]_TTT_[/eluser]
And what urls do you have ?
I have mysite.net/site/index/&per_page=2

with
$config[‘enable_query_strings’] = true;
and
$paginator_config[‘page_query_string’] = TRUE;
#13

[eluser]_TTT_[/eluser]
I have function

function order($order) {
...
}

and urls must be

site.net/site/order/first_name/1';

I wrote

$paginator_config['base_url'] = base_url().'site/order/'.$order.'/';

why next>> pagination link is

site/order/first_name/3

?
#14

[eluser]_TTT_[/eluser]
Pagination links dosnt works. They stay still -> 1 2 3 Next> Last ›
But records are are selected if write urls in my browser

site.net/site/order/first_name/3
site.net/site/order/first_name/6
site.net/site/order/first_name/9

Pagination links stay still -> 1 2 3 Next> Last ›
#15

[eluser]_TTT_[/eluser]
I solved the problem Smile

It was here $paginator_config['uri_segment'] = 4;




Theme © iAndrew 2016 - Forum software by © MyBB