Introduction
This articles provides notes, guidance and method for manually upgrading ckEditor in Camino CMS.
Important Information
The version of ckEditor included with Camino is upgraded to the latest version with every significant Camino release. As ckEditor is slightly reconfigured for use by Camino, its' functionality is tested with every Camino upgrade. Calzada Media does not test every version of ckEditor with Camino - only the versions officially included. Consequently any manual upgrade may not work as intended.
Support for ckEditor and any of its' plugins are provided by ckSource and/or the respective plugin authors via http://ckeditor.com/support
Method
- Rename your existing ckEditor folder (~/app/components/ckEditor/ckEditor) to a backup folder - for example ckeditor_old
- Do not delete the existing ckEditor directory as it contains files and directories that will be required later.
- Download latest ckEditor
- Extract (decompress) the downloaded file to the original editor directory (~/app/components/ckEditor/ckEditor)
- Copy configuration files from backup to the new ckEditor directory. These include
- config.js
- styles.js
- Copy the cmsLink directory from the ckEditor backup plugins directory to new ckEditor's plugins directory
- If this plugin is not copied across, then ckEditor will not work.
- Delete the samples directory from the new ckEditor directory. This directory is not required for Camino.
- Open contents.css in new ckEditor and add the following entry at the bottom:
- cmsa {color:#60a522;text-decoration:underline;}
Testing
You may test ckEditor without creating any new content or endangering any existing content. To be able to perform any tests you will require access to the Camino CMS Administrator.
ckEditor Loading
- Log into Camino CMS Administrator
- Go to Pages > Add Page
- If ckEditor is properly installed and configured, it will appear. If it doesn't then there is an error.
Test Internal Linking
An internal link is a link to any Camino content item. This may be another page, blog post or market product. To test links:
- Enter some test
- Select the text and then click on the blue globe in the editor toolbar
- Select a content item from the drop down menu
- Click on OK
- If the selected text is now green and underlined, internal linking is working.
Image Browser / WebFileManager Integration
- Click on the image icon in the toolbar
- In the Image Properties dialog, click on Browse Server
- Another dialog should open containing a web base file browser. If it does, then Image Browser functionality is working correctly.