hSATAC

>> ('cat' + 'ash').reverse #=> "hsatac"

Using Fckeditor in CI 1.7

使用CI 1.7後,發現許多bug以及相容問題。(btw CI 1.7.1出了,果然很多地雷…)

這個 fckeditor 移植也讓我搞了好幾個小時= =b

總之,要在CI 1.7中繼續使用 fckeditor (按照CI WIKI中提供的方法),請做以下的更動。

Update for CI 1.7

Few things you may wanna know when you’re following the steps described as above:
(1) Due to the change of CI’s loader class, you have to load the fckeditor library this way:
$this->load->library('fckeditor',array('instanceName' => 'content'));
(2) For the same reason, you have to modify “system/application/libraries/fckeditor.php”
find the contructor of the class and make these changes:
function __construct( $array ) {
$this
->InstanceName = $array['instanceName'] ;
.....
.....
}
updated by hSATAC@gmail.com

同步更新至 CodeIgniter WIKI

Comments