In admin.php, change the following:
'class' => 'CButtonColumn',
'template' => '{update}{delete}',
'updateButtonUrl' =>'Yii::app()->createUrl("/customer/editmember1",array("id" => $data->primaryKey))',
'updateButtonImageUrl'=>Yii::app()->request->baseUrl.'/images/edit.jpg',
deleteButtonUrl' =>'Yii::app()->createUrl("/customer/delete",array("id" => $data->primaryKey))',
'deleteButtonImageUrl'=>Yii::app()->request->baseUrl.'/images/delete.jpg',
),
Reference:
'class' => 'CButtonColumn',
'template' => '{update}{delete}',
'updateButtonUrl' =>'Yii::app()->createUrl("/customer/editmember1",array("id" => $data->primaryKey))',
'updateButtonImageUrl'=>Yii::app()->request->baseUrl.'/images/edit.jpg',
deleteButtonUrl' =>'Yii::app()->createUrl("/customer/delete",array("id" => $data->primaryKey))',
'deleteButtonImageUrl'=>Yii::app()->request->baseUrl.'/images/delete.jpg',
),
Reference:
No comments:
Post a Comment