Hi all,
Is there a global setting in Yii to change the htmlentity display from
"©" to "©"
for admin grid/view/edit views?
I found that in the CGridView parameters, I can go and update each column to ‘type’=>‘raw’ like below, but I will need to do this in 20 Models and and each view manually unless I can do its globally somewhere. I have a script that imports the data with
©
, and when the customers go to edit an item they would like to see ©. Any help is appritiated!
<?php $this->widget('zii.widgets.grid.CGridView', array(
'id'=>'item-grid',
'dataProvider'=>$model->search(),
'filter'=>$model,
'columns'=>array(
'id',
'price1',
'price1label',
'price2',
'price2label',
array('name'=>'name','type'=>'raw'),