How to use CKEditor??
- Single Page
Posted 30 April 2012 - 12:58 PM
[size=4]but I don't know how to use it with grocerycrud.[/size]
[size=4]so, someone tell me, please.[/size]
Posted 01 May 2012 - 12:29 PM
Posted 08 May 2012 - 08:28 AM
Posted 08 May 2012 - 20:01 PM
...
$crud = new grocery_CRUD();
$crud->set_table('TableName');
$crud->change_field_type('FieldName', 'text');
$output = $crud->render();
...
...
Posted 09 May 2012 - 00:02 AM
to have a different texteditor than the default is quite easy:
1. delete the folder texteditor (or rename it) at : assets/grocery_crud/texteditor
2. download ckeditor for jquery and add it to assets/grocery_crud and just rename your ckeditor folder to texteditor
3. go to application/libraries/grocery_crud.php at around 1609,1610 line and replace those two line of codes with the required code of the ckeditor:
$this->set_js($this->default_texteditor_path.'/jquery.tinymce.js');
$this->set_js($this->default_javascript_path.'/jquery_plugins/config/jquery.tine_mce.config.js');
and replace it with yours.
I have a long time to use ckeditor (as the licence per website is now [b]$375![/b]) and I don't know how to intergate it with jquery. But you will be at least at the right direction.
Posted 09 May 2012 - 08:39 AM