FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 20f1fb7f authored by thewilkybarkid's avatar thewilkybarkid
Browse files

Force CKEditor to act like a library

parent 8d28a149
No related branches found
No related tags found
No related merge requests found
......@@ -215,6 +215,22 @@ function cambridge_install() {
// Set CKEditor settings.
$settings = db_select('ckeditor_settings', 's')
->fields('s', array('settings'))
->condition('name', 'CKEditor Global Profile')
->execute()
->fetchField();
$settings = unserialize($settings);
// Set path to CKEditor library.
$settings['ckeditor_path'] = '%b/profiles/cambridge/libraries/ckeditor';
db_update('ckeditor_settings')
->fields(array('settings' => serialize($settings)))
->condition('name', 'CKEditor Global Profile')
->execute();
$profiles = db_select('ckeditor_settings', 's')
->fields('s')
->condition('name', array('Advanced', 'Full'), 'IN')
......
......@@ -11,7 +11,6 @@ projects[context] = "3.0-beta7"
projects[ckeditor] = "1.13"
libraries[ckeditor][download][type] = "file"
libraries[ckeditor][download][url] = "http://download.cksource.com/CKEditor/CKEditor/CKEditor%204.2/ckeditor_4.2_full.tar.gz"
libraries[ckeditor][destination] = "modules/ckeditor"
projects[date] = "2.6"
projects[delta] = "3.0-beta11"
projects[easy_breadcrumb] = "2.7"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment