07-16-2011, 12:28 PM
[eluser]Hoopoe[/eluser]
[quote author="jmadsen" date="1308451846"]no, you misunderstood me.
if you have two tabs, you have two queries - so, send two sets of parameters in your url.
more or less:
http://www.mysite.com/controller/functio...b2/offset2
[/quote]
Hi again,
The url you outline has multiple offsets - one for each tab. CI pagination seems to me to only allow one uri-segment to contain the offset. I am not sure how to marry CI Pagination with multiple uri_segments containing offset values...
Say you click on pagination links to display page 2 under tab#2. What's the trick to ensure tab#2 stays selected rather than the default e.g tab#1 ?
[quote author="jmadsen" date="1308451846"]no, you misunderstood me.
if you have two tabs, you have two queries - so, send two sets of parameters in your url.
more or less:
http://www.mysite.com/controller/functio...b2/offset2
[/quote]
Hi again,
The url you outline has multiple offsets - one for each tab. CI pagination seems to me to only allow one uri-segment to contain the offset. I am not sure how to marry CI Pagination with multiple uri_segments containing offset values...
Say you click on pagination links to display page 2 under tab#2. What's the trick to ensure tab#2 stays selected rather than the default e.g tab#1 ?