Hello,
I had to change default Url which is return by Cpagination class.
In url manager I had already define one rule for it,
‘store/<controller:\w+>/<action:\w+>/<id:[\w-]+>/<page:[0-9]>’ => ‘store/<controller>/<action>’,
it will give url like,"level?id=all-10&page=2" but I need to change it to, "level/all-10/page/2"
I checked and use $pages->createPageUrl("home",2); but it will give me error like,"Fatal error: Call to a member function createUrl() on a non-object in C:\wamp\www\yii\framework\web\CPagination.php on line 207".
Can any one suggest me how can I solve it ?? with current way. Or give some solution for it.
Thanks,