This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
ru:how_to:editor_configuration_syntaxhighlight [2013/10/21 08:56] Arkady [Отредактируйте файл template.php вашей темы] |
ru:how_to:editor_configuration_syntaxhighlight [2013/10/21 08:59] Arkady [Загрузите плагин на сервер] |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Скачайте необходимые скрипты ===== | ===== Скачайте необходимые скрипты ===== | ||
- | Download the **Syntax-Highlighter-Script** from the [[http://alexgorbatchev.com/SyntaxHighlighter/download/download.php?sh_current|SyntaxHighLighter-Download-Page]] | + | Скачайте скрипт **Syntax-Highlighter-Script** [[http://alexgorbatchev.com/SyntaxHighlighter/download/download.php?sh_current|отсюда]]. |
- | Unpack it to a local directory and upload it as directory "//syntaxhighlighter//" to ///admin/template/js/// | + | Разархивируйте его в папку на локальной машине и загрузите на сервер в подпапку "//syntaxhighlighter//" в папку ///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]] | + | Скачайте плагин [[http://code.google.com/p/ckeditor-syntaxhighlight/downloads/detail?name=ckeditor-syntaxhighlight-1.0.tar.bz2|SyntaxHighLighter-Plugin]] для **CKeditor** |
===== Загрузите плагин на сервер===== | ===== Загрузите плагин на сервер===== | ||
- | Unpack it to a local directory and load that directory by FTP into your editor-plugin-directory at: //admin/template/js/ckeditor/plugins// | + | Разархивируйте его в папку на локальной машине и загрузите эту папку в директорию плагинов редактора //admin/template/js/ckeditor/plugins//. |
===== Интеграция подсветки с GetSimple ===== | ===== Интеграция подсветки с GetSimple ===== | ||
You will need a separate [[ru:how_to:editor_configuration_custom_files|CKEditor-configuration file]] if you don't have one already. Add the following 2 lines to the custom config-file: \\ | You will need a separate [[ru:how_to:editor_configuration_custom_files|CKEditor-configuration file]] if you don't have one already. Add the following 2 lines to the custom config-file: \\ |