[eluser]gh0st[/eluser]
How do I add variables, such as a country to the pagination config so that when it generates the pagination links it adds the proper structure automatically?
For example;
Code:
// Pagination config
$config['base_url'] = base_url() .'cms/gallery/index/';
The structure of my URI is thus;
Code:
/cms/gallery/index/[page]/[country]/
My aim is to make the $this->pagination->create_links(); auto create the right links without me having to do that much.
Obviousily I can't put the page in after the /index/ in my config because the page will never move, but I really need to add other variables into the create_links() output.
How do I do this?
Thanks