我想在我的网站中包含PHP脚本。我正在使用CL编辑器来发布内容。有人能帮我在CL编辑器中启用语法吗。
感谢
在protected/extensions//strong>中提取CLEditor后,这是创建它的脚本:
<?php $this->widget('Application.extensions.cleditor.ECLEditor',array(
'model'=>$model,
'attribute'=>'isi',
'options'=>array(
'width'=>'700',
'height'=>250,
'useCSS'=>true,
),
'value'=>$model->artikel
)); ?>
试试看:)