1

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

4

1 に答える 1

0

protected/extensions/で CLEditor を抽出した後、これを作成するスクリプトは次のとおりです。

<?php $this->widget('Application.extensions.cleditor.ECLEditor',array(
                        'model'=>$model,
                        'attribute'=>'isi',
                        'options'=>array(
                            'width'=>'700',
                            'height'=>250,
                            'useCSS'=>true,
                        ),
                        'value'=>$model->artikel
                    )); ?>

それを試してみてください :)

于 2014-10-13T07:43:35.330 に答える