Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.



Recommended Posts

Apparently they dont explain it very well in the install.txt


Here's how you do it


1. Download the latest CKEditor from http://ckeditor.com/download and unpack to catalog/admin/ext/ckeditor - ckeditor.js should now be in the top level of this folder. CKeditor 3.5 was released on December 17th, 2010.


2. Open /catalog/admin/includes/functions/html_output.php do a search and find and change the tep_draw_textarea_field (around line 252) to read:


$field = '<textarea name="' . tep_output_string($name) . '" id="' . tep_output_string($name) . '" cols="' . tep_output_string($width) . '" rows="' . tep_output_string($height) . '"';


3. Open /catalog/admin/includes/template_top.php and add the following before the </head> tag:


You can add the ckeditor to admin root directory I havent tested it to work out side the admin folder



tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added, set_function) values ('', 'Use CKEditor', 'USE_CKEDITOR_ADMIN_TEXTAREA','true','Use CKEditor for WYSIWYG editing of textarea fields in admin',1,99,now(),'tep_cfg_select_option(array(\'true\', \'false\'),' )");





<script type="text/javascript" src="<?php echo tep_href_link('ckeditor/ckeditor.js'); ?>"></script>

<script type="text/javascript" src="<?php echo tep_href_link('ckeditor/adapters/jquery.js'); ?>"></script>

<script type="text/javascript">

$(function() {

var $editors = $('textarea');

if ($editors.length) {

$editors.each(function() {

var editorID = $(this).attr("id");

var instance = CKEDITOR.instances[editorID];

if (instance) { CKEDITOR.remove(instance); }









Make sure to past the last code in the admin/includes/template_top.php

over top pf the <script></script> that contain the general.js name in the head before the </head> tag

4. All installed - just visit your admin site. there is an attachment with the fixed filesfixed.zip

Edited by wildbill8448
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...