How to show the pagination in the view, with own design, using dataProvider
?
Im not using CGridView
to show dataProvider
items.
Controller.php:
public function actionIndex()
{
$dataProvider=new CActiveDataProvider('Projects', array(
'criteria'=>array(
),
'pagination'=>array(
'pageSize'=>Yii::app()->params['itemsPerPage'],
),
));
$this->render('index',array(
'dataProvider'=>$dataProvider,
));
}