This is an old revision of the document!
If you want to use SyntaxHighlighting in the editor, you will need the original script SyntaxHighLighter by Alex Gorbatchev PLUS the CKEditor Plugin for Syntax-Highlighting.
Download the Syntax-Highlighter-Script from the SyntaxHighLighter-Download-Page
Unpack it to a local directory and upload it as directory “syntaxhighlighter” to /admin/template/js/
Download the SyntaxHighLighter-Plugin for CKeditor-Plugin from http://code.google.com/p/ckeditor-syntaxhighlight/downloads/detail?name=ckeditor-syntaxhighlight-1.0.tar.bz2
Unpack it to a local directory and load that directory by FTP into your editor-plugin-directory at: admin/template/js/ckeditor/plugins
You will need a separate CKEditor-configuration file if you don't have one already. Add the following 2 lines to the custom config-file:
CKEDITOR.editorConfig = function( config ){\\ // Define changes to default configuration here. For example:\\ // config.removePlugins = 'elementspath,resize' ; // hide element path and resizer\\ config.extraPlugins = 'syntaxhighlight',\\ config.syntaxhighlightLangDefault = 'php'\\ };
If you have defined extraPlugins already, add 'syntaxhighlight' to that comma-separated list,for example:
config.extraPlugins = 'fileicon,video,syntaxhighlight','templates',
If you haven't done already, define the custom-config-file in the GetSimple-Configuration file gsconfig.php