2013-12-17 23:49:31 3702次浏览 0条回答 0 悬赏 25 金钱

在官网下载了yii-kindeditor这个编译器,按照上面的流程我把它放在了extensions文件夹下面,我的view官网的样子,我也模仿如下

<?php $this->widget('ext.kindeditor.KindEditorWidget',array(
    'id'=>'Goods_introduce',    //Textarea id
    // Additional Parameters (Check http://www.kindsoft.net/docs/option.html)
    'items' => array(
        'width'=>'700px',
        'height'=>'300px',
        'themeType'=>'simple',
        'allowImageUpload'=>true,
        'allowFileManager'=>true,
        'items'=>array(
            'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic',
            'underline', 'removeformat', '|', 'justifyleft', 'justifycenter',
            'justifyright', 'insertorderedlist','insertunorderedlist', '|',
            'emoticons', 'image', 'link',),
    ),
)); ?>

<tr align="top">
                        <td nowrap align="right" height="120px">
                            <?php echo $form -> labelEx($goods_model, 'introduce'); ?>
                        </td>
                        <td colspan="3">
                            <?php echo $form -> textArea($goods_model,'introduce',array('cols'=>80,'rows'=>10,'visibility'=>'hidden')); ?></td>
                        </tr>

但是页面页面上面什么反应也没有,是不是还有什么其他地需要设置的? 本人新手,还请各位多多指教,谢谢!

    没有找到数据。
您需要登录后才可以回答。登录 | 立即注册
1053488705
职场新人

1053488705 上海

注册时间:2013-04-17
最后登录:2014-01-06
在线时长:7小时10分
  • 粉丝0
  • 金钱0
  • 威望0
  • 积分70

热门问题