[eluser]Unknown[/eluser]
We have a CI installation that has the following setting in our config...
Code:
$config['enable_query_strings'] = TRUE;
We need this in order for another area of our application to run correctly with a third party API. What's happening, however, is that pagination is defaulting to a query string method of doing pagination, which doesn't play well with caching.
I cannot change the above listed $config[] value, but am looking for a way to change the URL structure for the pagination anchors.
Right now, they look like this...
Code:
http : // localhost/something/?&page=6
It's not playing well with caching, mainly because every page URL is the same page to CI. My goal is to get switched over to the below example without messing with global settings for the rest of my application.
I've been trying for hours to find a way to disable the above setting only within this single part of the application, so that we can properly have separate URLs for the pagination, like this...
Code:
http : // localhost/something/1
http : // localhost/something/2
http : // localhost/something/3
So far, I have been unable to overide that setting for this controller, and honestly, I'm not sure there's even a way to actually do it. Any help is appreciated. There's got to be some method of disabling a feature for a single controller somehow.