I tried adding a new editor and was getting nowhere. So I made a carbon copy of the ckeditor and called it bkeditor and it STILL wouldn't show up. I did a universal search/replace so that baffled me.
Then I finally noticed in /admin/includes/init_includes/init_html_editor.php that three, and only three, editors are somewhat "hardcoded" into the system (htmlarea, ckeditor, and tinymce). I also noticed on the same file where it says:
I followed that and still got no love for my editor so now I'm here asking if there's a typo on that, and for better clarification. Should:Code:/** * List of potential editors apps * * CONSTANTS are used for language-specific display names, and are defined in /YOUR_ADMIN_FOLDER/includes/languages/extra_definitions/editor_EDITORNAME.php * * To add additional editors, add your own entries to the $editors_list array by creating a NEW FILE in /YOUR_ADMIN_FOLDER/includes/extra_functions/editor_EDITORNAME.php containing just one line of PHP: * <?php $editors_list['NAME_OF_EDITOR'] = array('desc' => EDITOR_CONSTANT, 'handler' => 'editorhandlerfilename.php', 'special_needs' => ''); * * * NOTE: THERE SHOULD BE NO NEED TO EDIT ANYTHING BELOW THIS LINE: */
actually say:Code:/YOUR_ADMIN_FOLDER/includes/languages/extra_definitions/editor_EDITORNAME.phpor is it correct?Code:/YOUR_ADMIN_FOLDER/includes/languages/YOUR_LANGUAGE/extra_definitions/editor_EDITORNAME.php
Should my replacement for EDITORNAME be in all caps for some reason, or is that just to indicate I'm supposed to replace that with my own info? And is the name arbitrary, or should it match some other define?
Should "editorhandlerfilename.php" be replaced with something? I imagine so, but a) it isn't all-caps like I suppose it would be if that were the case and b) there's no indication of which php file, exactly, it is referring to.
Thank you.


Reply With Quote

