Yii Framework Forum: CListView sorter issue - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

CListView sorter issue

#1 User is offline   tahir 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 18-April 11

Posted 21 April 2011 - 07:59 AM

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',

),

));
0

#2 User is offline   PeRoChAk 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 582
  • Joined: 26-November 10
  • Location:Lahore, Pakistan

Posted 21 April 2011 - 10:30 AM

Welcome,

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

Please upload a snapshot or describe your problem in details.
Cheers
Perochak
Web Design - Logo Design - Application Development

My Blog | Forums Comparison
0

#3 User is offline   PeRoChAk 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 582
  • Joined: 26-November 10
  • Location:Lahore, Pakistan

Posted 23 April 2011 - 04:58 AM

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.
Cheers
Perochak
Web Design - Logo Design - Application Development

My Blog | Forums Comparison
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users