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

[eluser]Ludatha[/eluser]
My website runs with query strings enabled because of ajax and flash applications on my site.
Everything runs fine except the pagination... The reason the pages don't work is because they give me a query string (http://example.com/index.php?c=test&m=page&per_page=20) but I need it to display the links like the rest of the links on my site (http://example.com/index.php/test/page/20)

I have tried adding this to the configuration but it still doesn't work.
$config['page_query_string'] = TRUE

If there is no fix ill try and edit the pagination class to force it to use URI segments.

If you could lend a hand that would be great Smile

- Adam
#2

[eluser]imn.codeartist[/eluser]
You need to change in the pagination class to work with both. I have explained how to do it in following post

http://ellislab.com/forums/viewthread/130845/

cheers
#3

[eluser]Ludatha[/eluser]
[quote author="dixcoder" date="1255516054"]You need to change in the pagination class to work with both. I have explained how to do it in following post

http://ellislab.com/forums/viewthread/130845/

cheers[/quote]

Thank you very much!
It works perfectly




Theme © iAndrew 2016 - Forum software by © MyBB