Welcome Guest, Not a member yet? Register   Sign In
advanced paginatio technique
#1

[eluser]dsi[/eluser]
hi, can anyone suggest me some advanced pagination style other than default one bcos i have a problem with default pagination style.

as much as i know, the pagination link takes the value from 3rd uri segment and shows the result according to it, but i have some other integer value in my uri and it is "required".
i need to pass that value for my code to work, but i need pagination too.
For ex: i need to pass the category id into the link to show all the product that have same category id. but the default pagination uses the same segment too.

how can i solve my problem, friends.

is there any other easy way??

i m using default ci uri structure(example.com/controller/function/)

can anyone suggest me some solution other than changing my uri structure to php style(exapmle.com?c=1&f=2)

plz help
#2

[eluser]dsi[/eluser]
ah m so silly, i just found the easiest solution, i need to add "$config['uri_segment'] = 4;" in my pagination code.

plz dont laugh.
#3

[eluser]ram4nd[/eluser]
Javacript pagination is aw some as well, if you want something fancy.




Theme © iAndrew 2016 - Forum software by © MyBB