Hi
how do change adress YiiFramework pagination
default pagination in yii FrameWork for next pages :
www.example.com/articles/?article_page=2
how do change this Adress "?article_page=2" to only "page2":
Hi
how do change adress YiiFramework pagination
default pagination in yii FrameWork for next pages :
www.example.com/articles/?article_page=2
how do change this Adress "?article_page=2" to only "page2":
This can be done, if you are not averse in setting a rule in CUrlManager like this.
'urlManager'=>array(
'urlFormat'=>'path',
'rules'=>array(
'article/page<Article_page:\d+>'=>'article/index',
//other rules to follow...