Hi,
I am saving the description in the database. Description filed is a text area in CKEditor. The issue is I could not properly render content with html tags. I have tried some forum post regarding this but still I could not get it write. I have added necessary code snippets and screen shots.
If any one can help on this I would be much grateful.
admin.php in view folder
<?php $this->widget('zii.widgets.grid.CGridView', array(
'id'=>'product-grid',
'dataProvider'=>$model->search(),
'filter'=>$model,
'columns'=>array(
'name',
array(
'name'=>'description',
'header'=>'Description',
'value'=>$model->description,
),
'status',
array(
'class'=>'CButtonColumn',
'template' => '{update}',
),
),
)); ?>
I referred following posts.
http://www.yiiframework.com/forum/index.php/topic/26657-rendering-html-code-from-database/