[請益] Codeigniter Fckeditor

看板PHP作者 (小貓)時間15年前 (2010/10/15 12:01), 編輯推噓0(004)
留言4則, 2人參與, 最新討論串1/1
各位大大有個配置問題請教!!我查了好多天了真不知道什麼問題!! codeigniter 裡面配置 fckeditor 問題,我照著網路上的教學做, google 瀏覽器可以正常顯示編輯表, firefox也可以正常顯示編輯表 , 唯獨ie7顯示的編輯表很怪(ie6,ie8正常),他會把工具列的圖示像無限迴圈一樣排列在螢幕上。 ***並且每一種瀏覽器測試直都無法post傳遞出去。*** 我controller如下: ps: base_url() 在config.php 裡面我是設http://127.0.0.1/maxim/ $this->load->helper('url'); $this->load->library('fckeditor', array( 'instanceName' => 'Pic',//第一個編輯氣 'BasePath' => base_url().'system/application/plugins/fckeditor/', 'ToolbarSet' => 'Basic', 'Width'=>'100%', 'Height'=>'300', 'Value'=>'') ); $this->fckeditor->InstanceName = 'IsFunction'; //第二個編輯器 $this->fckeditor->InstanceName = 'Special'; //第三個 $this->fckeditor->InstanceName = 'Exterior'; //第四個 $data['Pic'] = $this->fckeditor->CreateHtml(); $data['Exterior'] = $this->fckeditor->CreateHtml(); $data['IsFunction'] = $this->fckeditor->CreateHtml(); $data['Special'] = $this->fckeditor->CreateHtml(); $this->desk_layout->view('develope/develope_add', $data); VIEW裡: <?=$Pic?> <?=Exterior?> <?=IsFunction?> <?=Special?> 配置: fckeditor資料夾 我放在 D:\AppServ\www\maxim\system\application\plugins\fckeditor\ 並把這裡面的fckeditor.php做了這樣修改 ps:這個檔案是由 fckeditor_php5.php 改檔名為 fckeditor.php 的 修改部分: public function __construct( $array ) { $this->InstanceName = $array['instanceName'] ; $this->BasePath = $array['BasePath'] ; $this->Width = $array['Width'] ; $this->Height = $array['Height'] ; $this->ToolbarSet = $array['ToolbarSet'] ; $this->Value = $array['Value'] ; $this->Config = array() ; } 並且複製一份到 D:\AppServ\www\maxim\system\application\libraries 資料夾底下 參考文獻:http://bagoesseptian.blogspot.com/2009/07/make-fckeditor-plugin-in-codeigniter.html http://codeigniter.org.cn/forums/thread-1144-1-1.html http://blog.sina.com.cn/s/blog_4b93170a0100b1e4.html -- Aman ia vida 地下飛行 blog: http://luo74128.blogspot.com/2010/07/blog-post.html 我: http://www.wretch.cc/album/luo74128 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 211.148.136.58

10/15 17:34, , 1F
裝個firebug實地抓比較快...
10/15 17:34, 1F

10/15 19:08, , 2F
我有查看過~看不出什麼異狀!!不知為何無法傳值
10/15 19:08, 2F

10/15 19:22, , 3F
傳值以解決但是!!ie系列送出表單會整個大跑版
10/15 19:22, 3F

10/15 19:24, , 4F
左下角錯誤提示:物件不支援此屬性或方法!!
10/15 19:24, 4F
文章代碼(AID): #1Cjz8BKd (PHP)
文章代碼(AID): #1Cjz8BKd (PHP)