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

[eluser]Noisy[/eluser]
Ok here it comes:

The URL looks like: http://**.**/forum/news-und-ankuendigungen/1/test/&page=4
But it should look like this: http://**.**/forum/news-und-ankuendigungen/1/test/4

I have no idea why.
This is my config for the pagination
Code:
$page_config['base_url'] = base_url().'forum/'.$forenInfoArray['seo_titel'].'/'.$threadInfoArray['id'].'/'.seo(utf8_decode($threadInfoArray['titel'])).'/';
$page_config['total_rows'] = $post_anzahl;
$page_config['per_page'] = 2;
$page_config['uri_segment'] = 6;
$page_config['page_query_string'] = false;
//$page_config['query_string_segment'] = 'seite';

$this->pagination->initialize($page_config);
$page_numbers = $this->pagination->create_links();
            
[...]

$postsQuery = $this->db->get_where('forum_posts', $postsWhere, $limit, $offset);

What is wrong. Even if I set page_query_string on true nothing happens.
I'm so desperate. I have another pagination on my site and it's working fine.

Thanks in advance!


Messages In This Thread
Problem with Pagination - by El Forum - 04-01-2009, 07:07 AM
Problem with Pagination - by El Forum - 04-04-2009, 01:18 PM
Problem with Pagination - by El Forum - 04-06-2009, 04:35 AM
Problem with Pagination - by El Forum - 04-06-2009, 04:45 AM
Problem with Pagination - by El Forum - 04-06-2009, 05:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB