I want to include PHP scripts in my website. I am using CL editor to post contents. Can anyone help me to do syntax enabling in the CL editor.
Thanks
I want to include PHP scripts in my website. I am using CL editor to post contents. Can anyone help me to do syntax enabling in the CL editor.
Thanks
After you extract CLEditor in protected/extensions/ this is the script to create it:
<?php $this->widget('Application.extensions.cleditor.ECLEditor',array(
'model'=>$model,
'attribute'=>'isi',
'options'=>array(
'width'=>'700',
'height'=>250,
'useCSS'=>true,
),
'value'=>$model->artikel
)); ?>
Try it :)