tz_com 2011-03-09 15:24:22 4736次浏览 18条回复 0 0 0
<?php 
$this->widget('application.extensions.fckeditor.FCKEditorWidget',array(
  "model"=>$info,                # Data-Model
  "attribute"=>'ainfo_content',         # Attribute in the Data-Model
  "height"=>'400px',
  "width"=>'100%',
  "toolbarSet"=>'Basic',          # EXISTING(!) Toolbar (see: fckeditor.js)
  "fckeditor"=>Yii::app()->basePath."/fckeditor/fckeditor.php",# Path to fckeditor.php
  "fckBasePath"=>Yii::app()->baseUrl."/fckeditor/",# Realtive Path to the Editor (from Web-Root)
  "config" => array("EditorAreaCSS"=>Yii::app()->baseUrl.'/css/index.css',),# Additional Parameter  (Can't configure a Toolbar dynamicly)
 ) );
?>

这是调用的,我的fckeditor目录就在protected下面 有没有错? 但是现在的情况是[attach]5[/attach] 怎么回事啊?求解~舰长快来啊

您需要登录后才可以回复。登录 | 立即注册