<?php
/**
* @package admin
* @copyright Copyright 2009-2014 Zen Cart Development Team
* @copyright Portions Copyright 2010 Kuroi Web Design
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: Original: ckeditor.php 277 2010-05-22 14:09:32Z kuroi $
*/
if (!defined('IS_ADMIN_FLAG')) {
die('Illegal Access');
}
$var = zen_get_languages();
$jsLanguageLookupArray = "var lang = new Array;\n";
foreach ($var as $key)
{
$jsLanguageLookupArray .= " lang[" . $key['id'] . "] = '" . $key['code'] . "';\n";
}
?>
<script type="text/javascript" src="//www.google.com/jsapi"></script>
<script type="text/javascript">if (typeof jQuery == 'undefined') google.load("jquery", "1");</script>
<script type="text/javascript" src="../<?php echo DIR_WS_EDITORS ?>ckeditor/ckeditor.js"></script>
<script type="text/javascript"><!--
$(document).ready(function() {
<?php echo $jsLanguageLookupArray ?>
$('textarea').each(function() {
if ($(this).attr('class') == 'editorHook' || ($(this).attr('name') != 'message' && $(this).attr('class') != 'noEditor'))
{
index = $(this).attr('name').match(/\d+/);
if (index == null) index = <?php echo $_SESSION['languages_id'] ?>;
CKEDITOR.replace($(this).attr('name'),
{
coreStyles_underline : { element : 'u' },
width : 760,
language: lang[index]
});
}
});
});
//--></script>
/home/.../editors/ckeditor/plugins/doksoft_uploader/uploader.php
to/editors/ckeditor/plugins/doksoft_uploader/uploader.php
...and successfully uploaded first file to your webserver (no article's changes were saved)config.filebrowserImageUploadUrl = '/url/to/your/uploader.php?type=Images';
I have purchased the CKEditor Big Add-ons Pack and have installed the following add ons
-- doksoft_font_awesome (all good but no creating bitmaps)
-- doksoft_image (uploader & drag/drop not working)
-- doksoft_file (uploader & drag/drop not working)
-- doksoft_gallery (uploader & drag/drop not working)
-- doksoft_button (all good)
-- doksoft_youtube (error on search)
-- doksoft_maps (all good)
-- doksoft_table (all good)
-- doksoft_html (all good)
-- doksoft_alert (all good)
I have CKEditor running on a Zencart 1.5 site and the normal editor seem to be running fine.
I installed this zencart plugin www.zen-cart.com/downloads.php?do=file&id=1098 which is basically the editor in a editors folder in zencart and I updated it with the latest CKEditor (I was also having the same problem with the original CKEditor Plugin for Zen Cart).
It was only possible to upload on file to this forum so I upload all screen shots to Dropbox (see below)
https://www.dropbox.com/sh/ytil4ebl91d1vyg/AAB-1i7qxNbYvTtcgEQhOaRPa?dl=0
Here you can see my configuration files for CKEditor & the Uploader (I have tried web urls and base urls)
There are 3 error messages all pointing to the same thing, these error messages are for
-- doksoft_image
-- doksoft_file
-- doksoft_gallery
Also you can see what is happening when the popups are ahown (there is no uploader)
Then the last screen shot is from the Youtube plugin.
Please let me know if you require anything else to help me solve this problem.