CListView sorter issue


(Tahir Hamid6) #1

i am new in yii and facing problem to adjust the html view of data using CListView any body can help me about it plz i have the following code here

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

    'dataProvider'=>$dataProvider,


	 


	'pager'=>array(


	'class'=>'LinkListPager',


	


	'header'=>'',


	'maxButtonCount'=>8,


	'firstPageLabel'=>'<<',


	'prevPageLabel'=>'<',


	'nextPageLabel'=>'>',	


	'lastPageLabel'=>'>>',


	


	),


	


	


	


    'ajaxUpdate'=>true,


    'enableSorting'=>true,


    'itemView'=>'whatsnew_views/_view',


	


    'sorterHeader'=>'',


	'summaryText'=>'',


	


	'cssFile'=>'false',


	'sorterCssClass'=>'whatnewnavi',


	'template'=>'{sorter}{items}{pager}',


    'sortableAttributes'=>array(


        'rand1' => 'Rising',


        'view_count'=>'Most Viewed',


        'rate_count'=>'Highest Rated',


        'isfeatured'=>'Featured',


		


    ),





));

(Amjad Mghl) #2

Welcome,

This is not enough to check what is the real case.

Please upload a snapshot or describe your problem in details.


(Amjad Mghl) #3

This is a CSS issue

use Inspect Element feature of the Google Chrome or Developer Tools in IE or Firebug in Firefox to investigate the margin or paddings.