I have the following issue:
When I press a button in my pagination, CLinkPager generates the link as follows:
page/videos/445/?page=2
What I need is something like this:
page/videos/445/page/2
Furthermore, I need something like:
name/videos/2
where name is url of user_id = 445.
I've set some rules in urlManager but they don't quite do the job: For step 1:
'<controller:\w+>/<action:\w+>/<id:\d+>/<page:\d+>' => '<controller>/<action>',
Any help is appreciated. Thank you in advance!
Here example for page/videos/445/page/2.This will help you understand:
URL Management
If you want to change generation links in pager you can override CLinkPager.