I do in action so
$dataProvider = new CSqlDataProvider($sql, array( 'totalItemCount' => $count, 'pagination'=>array( 'pageSize'=>8, //'pageVar'=>'page', //'route'=>'/', ), ));
then pass to the template, and call the widget
$this->widget('zii.widgets.CListView', array( 'dataProvider'=>$dataProvider, 'itemView'=>'row', 'template'=> "{pager}\n{items}\n{pager}", 'pager'=>array( 'maxButtonCount' => '10', 'prevPageLabel'=>'←', 'nextPageLabel'=>'→', 'header'=>'Навигация: ', ), 'ajaxUpdate'=>false, ));
everything would be fine, but links are generated by site.ru/my/patch?page=2 , I want to change to links of this type site.ru/my/patch/page_2.html how to do this? And are there any ways to change the very html structure of the paginator without problems?