Hi,
Is the pagination works by default in Yii 1.1.1?
Thanks
Hi,
Is the pagination works by default in Yii 1.1.1?
Thanks
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(
...,
'pagination'=>array(
'pageSize'=>20,
),
));
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.