2012-12-12 09:54
Anybody know how to add CKEditor 4 to QC? They changed connector from php to js, so instructions for CKEditor 3 are obsolete tnx
» Quick.Cart v5.x 2012-12-12 14:16
Have you studied the instructions? http://docs.ckeditor.com/#!/guide/dev_ckeditor_js_load
2012-12-12 14:32
As I see it's enough to upload ckeditor folder. Then open admin/container.tpl and paste in head section: <script src="ckeditor/ckeditor.js"></script> Next open admin/edit.tpl and chage
<!-- BEGIN TINY --> < textarea name = "$aHtmlConfig[sName]" id = "$aHtmlConfig[sName]" rows = "20" cols = "60" style = "width:$aHtmlConfig[iW];height:$aHtmlConfig[iH];" tabindex = "1" > $aHtmlConfig [ sContent ]</ textarea > <!-- END TINY -->
to
<!-- BEGIN TINY --> < textarea class= "ckeditor" name = "editor1" rows = "20" cols = "60" style = "width:$aHtmlConfig[iW];height:$aHtmlConfig[iH];" tabindex = "1" > $aHtmlConfig [ sContent ]</ textarea > <!-- END TINY -->
2012-12-12 14:52
tnx again...saved my day..twice :)
2012-12-13 10:35
Hey! Did you test this? Because i have problem, that after saving, text is removed and empty page is saved. Even if i open page with text, after saving, that text is deleted. Any idea why? tnx
2012-12-13 11:57
Try to replace to
<!-- BEGIN TINY --> < textarea class= "ckeditor" name = "$aHtmlConfig[sName]" rows = "20" cols = "60" style = "width:$aHtmlConfig[iW];height:$aHtmlConfig[iH];" tabindex = "1" > $aHtmlConfig [ sContent ]</ textarea > <!-- END TINY -->
and replace
< script language = "javascript" type = "text/javascript" src = "$config[dir_plugins]tinymce/jscripts/tiny_mce/tiny_mce.js" > </script>
to
< script language = "javascript" type = "text/javascript" src = "ckeditor/ckeditor.js" > </script>
I don't have time to test it well, but I hope this will work.
2012-12-17 09:36
Yep..that fixed the problem. tnx