Pagination in Yii 1.1.1


Is the pagination works by default in Yii 1.1.1?


Good question. I noticed the controller action ‘admin’ does not contain any pagination parameters. Anyone able to shed some light into this?

Any update?

Any update?

It uses the default pagination settings. To modify, in your modelClass::search()

you may define pagination settings

 $dataProvider=new CActiveDataProvider('modelClass', array(






I need it for display main page, not for search.

Any updates? the point here I want use it with my front-end page which is SiteController.