CListView and custom pager positioning

Please, tell if there is any way of displaying the pager above and under the CListView not where the widget places it automatically, but where I want it to be, corresponding to the page design?

I haven’t done what you are asking for yet, as I just customized everything through css for the pager. There is a public property in CBaseListView of template though that might provide a means of doing what you want.

Maybe someone can chime in here that has actually done it.

There is a topic about it here.

<?php $this->widget(‘zii.widgets.CListView’, array(

    'dataProvider'=&gt;&#036;dataProvider,


    'itemView'=&gt;'_view',


    'template'=&gt;'{sorter}&lt;br /&gt;{pager}{items}{pager}',


    'enableSorting' =&gt; true,


    'sortableAttributes'=&gt;array(


        'name'=&gt;'By name',


    ),

)); ?>