Fckeditor in CodeIgniter 1.7.1 in 10 steps |
[eluser]jongliko[/eluser]
I just figure out how to use Fckeditor as a Library in CI. It's indeed simple but in the wiki ( http://codeigniter.com/wiki/FCKeditor/ ) it's hard to understand witch updates to do for the last CI version (1.7.1). I have seen in the forum that others have problems to understand, so I post a little step by step. 1)Download Fckeditor. 2)Extract the folder "fckeditor" in "system/plugins/" 3)Open the "fckeditor" folder and copy the file "fckeditor.php" 4)Past the file in "system/application/libraries" 5)Edit the file you just past and add this line to the top Code: if (!defined('BASEPATH')) exit('No direct script access allowed'); Code: if ( !function_exists('version_compare') || version_compare( phpversion(), '5', '<' ) ) Code: if (!defined('BASEPATH')) exit('No direct script access allowed'); Code: class FCKeditor Code: class Fckeditor 8-bis) open the fckeditor_php4.php and add the same line to the top and rename the class name into "class Fckeditor" 9)In your controller you should have something like Code: function fckeditorform(){ Code: $this->load->helper('form'); Any problem use the wiki http://codeigniter.com/wiki/FCKeditor/ to complete my post Hope this help ! ;-) |
Messages In This Thread |
Fckeditor in CodeIgniter 1.7.1 in 10 steps - by El Forum - 03-04-2009, 01:00 PM
Fckeditor in CodeIgniter 1.7.1 in 10 steps - by El Forum - 03-04-2009, 01:45 PM
Fckeditor in CodeIgniter 1.7.1 in 10 steps - by El Forum - 03-04-2009, 03:34 PM
Fckeditor in CodeIgniter 1.7.1 in 10 steps - by El Forum - 03-04-2009, 04:27 PM
Fckeditor in CodeIgniter 1.7.1 in 10 steps - by El Forum - 03-05-2009, 04:34 AM
Fckeditor in CodeIgniter 1.7.1 in 10 steps - by El Forum - 03-05-2009, 04:49 AM
Fckeditor in CodeIgniter 1.7.1 in 10 steps - by El Forum - 03-05-2009, 05:13 AM
Fckeditor in CodeIgniter 1.7.1 in 10 steps - by El Forum - 03-21-2009, 11:10 PM
Fckeditor in CodeIgniter 1.7.1 in 10 steps - by El Forum - 04-01-2009, 07:51 AM
Fckeditor in CodeIgniter 1.7.1 in 10 steps - by El Forum - 06-16-2009, 02:43 PM
Fckeditor in CodeIgniter 1.7.1 in 10 steps - by El Forum - 07-03-2009, 02:27 AM
Fckeditor in CodeIgniter 1.7.1 in 10 steps - by El Forum - 08-20-2009, 09:46 AM
Fckeditor in CodeIgniter 1.7.1 in 10 steps - by El Forum - 08-29-2009, 05:39 AM
Fckeditor in CodeIgniter 1.7.1 in 10 steps - by El Forum - 11-08-2009, 03:28 AM
|