The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
All CKEditor 3.1 Features
#6
@ tyee: So what I have done is:
  • Unzip this in any folder on your computer
The folders with their files can be deleted: "_samples" and "_source" in the ckeditor mainfolder
  • Open the file: "config.js" in the ckeditor mainfolder and look at the code:

My version looks like this:
Code:
CKEDITOR.editorConfig = function( config )
{
    // Define changes to default configuration here. For example:
    config.uiColor = '#F5EDD7';
    CKEDITOR.config.toolbar = [
        
    ['NewPage','Templates','Source','-','Maximize','ShowBlocks','-','Print','-','Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
    '/',
    ['Styles','Format','Font','FontSize','-','Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
    '/',
    ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','NumberedList','BulletedList','-','Outdent','Indent','Blockquote','-','TextColor','BGColor','-','Link','Unlink','Anchor','-','Image','Flash','Table','HorizontalRule','Smiley','SpecialChar']
    ];
};
  • Then save the file and upload all the files with all subfolders under: /serverpath/admin/template/js/ckeditor
Before you upload this files, you should delete the same folder "ckeditor" or rename it.
  • Now open the "edit.php" file under: /serverpath/admin/

Start at the line 286. My code looks like this:
Code:
<script type="text/javascript" src="template/js/ckeditor/ckeditor.js"></script>
<script type="text/javascript">
    var editor = CKEDITOR.replace( 'post-content', {
    skin : 'kama',
    forcePasteAsPlainText : true,
    language : 'de',
    defaultLanguage : 'de',
    entities : true,
    height: '<?php echo $EDHEIGHT; ?>',    
    });
</script>
  • Then save the file and upload and overwrite the same one under: /serverpath/admin/

THAT'S ALL: And the screenshot in the control panel with the toolbar looks like this:
[Image: ckeditor.jpg]
Reply


Messages In This Thread
All CKEditor 3.1 Features - by Manjast - 2010-02-04, 19:11:51
All CKEditor 3.1 Features - by Manjast - 2010-02-04, 21:20:54
All CKEditor 3.1 Features - by tyee - 2010-02-05, 13:01:44
All CKEditor 3.1 Features - by ccagle8 - 2010-02-05, 13:40:38
All CKEditor 3.1 Features - by superyms - 2010-02-05, 18:22:17
All CKEditor 3.1 Features - by Manjast - 2010-02-05, 19:13:35
All CKEditor 3.1 Features - by superyms - 2010-02-05, 23:24:38
All CKEditor 3.1 Features - by superyms - 2010-02-06, 00:51:22
All CKEditor 3.1 Features - by superyms - 2010-02-06, 02:49:23
All CKEditor 3.1 Features - by tyee - 2010-02-06, 06:26:22
All CKEditor 3.1 Features - by ccagle8 - 2010-02-06, 09:28:58
All CKEditor 3.1 Features - by superyms - 2010-02-06, 17:57:23



Users browsing this thread: 3 Guest(s)