Hi Everyone,
I'll try to be as concise as possible.
Started with OC 1.5.3.1. Needed Full version of CKEditor thus used MaxEditor which in fact replaced a config.js of the original OC version.
I use on my site JW Player for playing videos.
Upgraded to OC 1.5.5.1. The MaxEditor wasn't working anymore probably because the new OC CKEditor included codemirror plugin.
I tried several free or paid editor versions from the OC marketplace. Most of them reset the code for JW player inserted in the source side of the editor (code disappears on save) probably due to some "allow content" (not sure what the name is) property. Then finally I used the editor http://www.opencart.com/index.php?route ... _id=321077 CKEditor on steroids which could save the code for JW Player.
(this editor version won't allow a flash to loop even if the check box for loop is checked in flash properties).
Now getting to the subject.
A new 'slideshow' plugin is available on CKEditor site. To insert different slideshows in the same layout but different pages it has to be through the editor. I tried to install it according the provider instructions: http://www.slideshow.promo-stic.fr/install.html. It worked to create the slideshow and looked well on front end, but when I came back to edit the page the object disappeared from editor and the later blocked. If I canceled the operation the page was still valid on front (even after deleting all caches). The one who provided the editor version ignores the "why?".
I tried to build several combinations (with and without codemirror), of the editor on the CKEditor site. Even supposedly they should replace successfully any ckeditor in function, after many tries the results where of only two categories:
1. When trying to insert a new page (let's say an information page, the editor won't show) or,
2. When the editor shows with all its functions, when trying to save it gives an error (generic: please verify...) In fact what happens is that the description info introduced for the second language (my site is bilingual) is wiped out!
On the site of CKEditor there's no particular info on OC integration. I'm fighting this for almost a week and I did not find my way in. So if you have some useful advice please help.
I'll try to be as concise as possible.
Started with OC 1.5.3.1. Needed Full version of CKEditor thus used MaxEditor which in fact replaced a config.js of the original OC version.
I use on my site JW Player for playing videos.
Upgraded to OC 1.5.5.1. The MaxEditor wasn't working anymore probably because the new OC CKEditor included codemirror plugin.
I tried several free or paid editor versions from the OC marketplace. Most of them reset the code for JW player inserted in the source side of the editor (code disappears on save) probably due to some "allow content" (not sure what the name is) property. Then finally I used the editor http://www.opencart.com/index.php?route ... _id=321077 CKEditor on steroids which could save the code for JW Player.
(this editor version won't allow a flash to loop even if the check box for loop is checked in flash properties).
Now getting to the subject.
A new 'slideshow' plugin is available on CKEditor site. To insert different slideshows in the same layout but different pages it has to be through the editor. I tried to install it according the provider instructions: http://www.slideshow.promo-stic.fr/install.html. It worked to create the slideshow and looked well on front end, but when I came back to edit the page the object disappeared from editor and the later blocked. If I canceled the operation the page was still valid on front (even after deleting all caches). The one who provided the editor version ignores the "why?".
I tried to build several combinations (with and without codemirror), of the editor on the CKEditor site. Even supposedly they should replace successfully any ckeditor in function, after many tries the results where of only two categories:
1. When trying to insert a new page (let's say an information page, the editor won't show) or,
2. When the editor shows with all its functions, when trying to save it gives an error (generic: please verify...) In fact what happens is that the description info introduced for the second language (my site is bilingual) is wiped out!
On the site of CKEditor there's no particular info on OC integration. I'm fighting this for almost a week and I did not find my way in. So if you have some useful advice please help.
Rezero OC and go forward one step all at once. The stock ckeditor somehow fosters obvious and subtle problems, that has been chewed upon since early April, and has an upshot. Obtain current Full package at ckeditor.com/download/ and replace the /admin/view/javascript/ckeditor/ tree with that. Boom, problems cured and problems prevented.
Then, since you seem amply determined, retry what you were trying to modify.
Then, since you seem amply determined, retry what you were trying to modify.
I did what you suggested. I completely deleted the ckeditor and tried to replace it with various builds (one at the time) as generated on the CKEditor site. For some reason I wasn't able to make work none of it (with or without 'codemirror'). Either the generated builds lack something "as is" or it is some particular way OC deal with it. Or I may obviously missing something. The simple fact that substitution with a fresh generated version doesn't work is weird. In my understanding it should work. Any other ideas?
You seem to have diverted somehow. "Obtain current Full package at ckeditor.com/download/ and replace the /admin/view/javascript/ckeditor/ tree with that." It supersedes prior versions, and it works with OC going back to 1.5.0.0, to boot. Since you ". . . thus used MaxEditor which in fact replaced a config.js of the original OC" rather than the stock version, it is hard to guess what ckeditor is trying to deal with. What I had in mind is restarting with OC itself, stock, and then retrying your amendments, from scratch. Hodgepodges have a way of staying that way.
Probably I wasn't clear enough. I do not use MaxEditor. I have upgraded to OC 1.5.5.1. The editor that came with the upgrade is not the full version, it includes the codemirror plugin (which by the way doesn't appear in the build-config.js file) and I needed a full version. I was using the ckeditor version stated in my first post (CKEditor 4.0 plus fonts-aka-CKEditor on steroids-link in first post).
All tests I did were by replacing ckeditor in place in my OC (named ckeditor directory to ckeditor-something) and uploaded different builds from CKEditor site (version 4.2). The last I tested was a FULL VERSION as downloaded from CKEditor site. Did not appear when open page for edit. The FULL VERSION does not include the 'codemirror' plugin but OC does and it is obvious it is not the same thing.
At this time (slideshow plugin let aside) my problem is why a fresh install of the ckeditor from its source does not work. Normally a simple upload should do the trick but it doesn't. If such an operation will work it would be the proof of 100% compatibility but I'm not there yet.
Maybe the OC developers may have an idea but at this time they do not manifest their interest on this.
All tests I did were by replacing ckeditor in place in my OC (named ckeditor directory to ckeditor-something) and uploaded different builds from CKEditor site (version 4.2). The last I tested was a FULL VERSION as downloaded from CKEditor site. Did not appear when open page for edit. The FULL VERSION does not include the 'codemirror' plugin but OC does and it is obvious it is not the same thing.
At this time (slideshow plugin let aside) my problem is why a fresh install of the ckeditor from its source does not work. Normally a simple upload should do the trick but it doesn't. If such an operation will work it would be the proof of 100% compatibility but I'm not there yet.
Maybe the OC developers may have an idea but at this time they do not manifest their interest on this.
The last install of CKEditor FULL VERSION mentioned in my previous post do show up in page for edit (I had to clear all caches) but whatever I try to write it wouldn't let me save! It constantly erasing the editor content (description) for the second language?!?
The message is as usual; "Warning: Please check the form carefully for errors!"
The message is as usual; "Warning: Please check the form carefully for errors!"
(1) First try toggling Source mode to the immediate top left of the edit box, in order to enter code as code, and then hitting Save WHILE it is in Source mode. If that works, deed done.
Since it erases "the editor content (description) for the second language" the toggling (above) may resolve that.
From your opener, you use JW Player, several editors "reset the code for JW player," your link for the one on steroids goes to an account log-in rather than an editor (so was not informative), you want to "save the code for JW Player" for purposes of looping flash. Toggling would perhaps resolve that, as well.
(2) I gather from your http://www.slideshow.promo-stic.fr/install.html that the second language is French (url fr, page itself tr, typo?). Overview, Demo, and Installation are silent on OC, let alone on OC versions or compatibilties with those. It seems likely that the slideshow may not be compatible with OC 1.5.5.1 unless you rewrite part of it.
If you happen to notice the ckfinder and think to try that, too, save your time, it is not a bad idea but is not yet "done" enough. Ditto its kcfinder competitor. The kceditor may resemble the ckeditor, but I have had no reason to try it, it might work in this instance but I would guess probably not.
I took JW Player and slideshow as both being important to you. The swapped config.js raises the possibility of giving two .js (those or others, same idea) different names, so that each can be called for different purposes by different code. In other words, let OC have everything .js-wise its own way, and put in renamed counterparts that something else added to OC might need to call, so that the two pairs (OC and files, other and files) don't trip over each other. The thought there is that you could perhaps support the player's functions in parallel, rather than as part of whatever is driving OC.
(3) It may be preferable to set 1.5.5.1 up normally and find another slideshow if not also another player. Among the forum store, sourceforge.net, and other sources there are several slideshows, several players.
Since it erases "the editor content (description) for the second language" the toggling (above) may resolve that.
From your opener, you use JW Player, several editors "reset the code for JW player," your link for the one on steroids goes to an account log-in rather than an editor (so was not informative), you want to "save the code for JW Player" for purposes of looping flash. Toggling would perhaps resolve that, as well.
(2) I gather from your http://www.slideshow.promo-stic.fr/install.html that the second language is French (url fr, page itself tr, typo?). Overview, Demo, and Installation are silent on OC, let alone on OC versions or compatibilties with those. It seems likely that the slideshow may not be compatible with OC 1.5.5.1 unless you rewrite part of it.
If you happen to notice the ckfinder and think to try that, too, save your time, it is not a bad idea but is not yet "done" enough. Ditto its kcfinder competitor. The kceditor may resemble the ckeditor, but I have had no reason to try it, it might work in this instance but I would guess probably not.
I took JW Player and slideshow as both being important to you. The swapped config.js raises the possibility of giving two .js (those or others, same idea) different names, so that each can be called for different purposes by different code. In other words, let OC have everything .js-wise its own way, and put in renamed counterparts that something else added to OC might need to call, so that the two pairs (OC and files, other and files) don't trip over each other. The thought there is that you could perhaps support the player's functions in parallel, rather than as part of whatever is driving OC.
(3) It may be preferable to set 1.5.5.1 up normally and find another slideshow if not also another player. Among the forum store, sourceforge.net, and other sources there are several slideshows, several players.
Toogling doesn't resolve anything.
CKEditor is at 4.2 now and OC froze at 4.0 The Advanced Content Filter was introduced after 4.1.
Just install a new 4.2 editor doesn't work (there are no no player or slide show at this time).
It may also be that CKEditor handles in a different way languages.
The jw player works well with http://www.opencart.com/index.php?route ... tor&page=5 but you wont have access to the code because is a paid extension.
The idea with the slideshow thru editor is good because it's easy to create the slideshow without writing code. I did it and it worked with the editor from the above link. Problem is that if you toogle to source and back the code disappears and the editor freezes. If you don't and just save the slideshow will be visible in store front.
The kcfinder is used to recuperate images from server only.
I did inserted a slideshow in some page but one has to write the whole code and it is more time consuming. In plus one has to prepare the slideshow outside OC eventually.
I know that there are ways to bypass but having all in one place is more elegant and easier to deal with.
As a remark there is not one single mention of OC on the whole CKEditor site.
Thanks for your input.
CKEditor is at 4.2 now and OC froze at 4.0 The Advanced Content Filter was introduced after 4.1.
Just install a new 4.2 editor doesn't work (there are no no player or slide show at this time).
It may also be that CKEditor handles in a different way languages.
The jw player works well with http://www.opencart.com/index.php?route ... tor&page=5 but you wont have access to the code because is a paid extension.
The idea with the slideshow thru editor is good because it's easy to create the slideshow without writing code. I did it and it worked with the editor from the above link. Problem is that if you toogle to source and back the code disappears and the editor freezes. If you don't and just save the slideshow will be visible in store front.
The kcfinder is used to recuperate images from server only.
I did inserted a slideshow in some page but one has to write the whole code and it is more time consuming. In plus one has to prepare the slideshow outside OC eventually.
I know that there are ways to bypass but having all in one place is more elegant and easier to deal with.
As a remark there is not one single mention of OC on the whole CKEditor site.
Thanks for your input.
The freezing is uncharacteristic and suggests checking and raising php limitations on the server. The OC installer would have objected (in red) if magic quotes or global variables were on. The prevalence of the freezes indicates that something is terribly wrong with the meld of constituents, and could owe to choice of server. Installations are server-sensitive, not notably to Linux distributions or Windows versions, but to server configurations among the plural "server" software that operates in unison or concert. The current and past few versions of the Standard and the Full ckeditor actually do work smoothly with pure OC from 1.5.0.0 on, on proper servers.
Given the URL several of us might be able to evaluate whether various particulars are out of whack as to installation or server.
While ckeditor's website makes no mention of OC or virtually anything else outside ck, OC makes no mention of any other ck product than ckeditor.
The ckfinder and kcfinder are primarily for uploading and downloading single as well as multiple files but only to and from directories they alone reach, with a workaround that doesn't actually work to reach existing directories. Both finders are useless, for example, for uploading single or multiple files to /image/data/ or downloading files instead.
Given the URL several of us might be able to evaluate whether various particulars are out of whack as to installation or server.
While ckeditor's website makes no mention of OC or virtually anything else outside ck, OC makes no mention of any other ck product than ckeditor.
The ckfinder and kcfinder are primarily for uploading and downloading single as well as multiple files but only to and from directories they alone reach, with a workaround that doesn't actually work to reach existing directories. Both finders are useless, for example, for uploading single or multiple files to /image/data/ or downloading files instead.
It seems that I cannot make me understood. Each time I describe something you are answering me about something else eluding the question. In fact you have no obligation to answer at all.
When I said 'freeze' is not about functionality. It was in the sense that version 4.0 wasn't upgraded to 4.2. OC 1.5.5.1 and OC 1.5.6 come both with CKEditor 4.0 Standard. It is not normal to not have at least the full version. I understand that is free but I can't retain myself to make this comment. There's nothing wrong with the servers. My install is functioning very well with CKEditor 4.0 which OC 1.5.5.1 came with and also with the extended version that i have pointed you to (CKEditor on Steroids).
My questions are still unanswered:
1. Why a fresh CKEditor 4.2 Full doesn't work on OC 1.5.5.1 when replacing the existing one (I tested it in a bilingual OC)?
2. Why some extended editor versions reset (wipe) code in the 'Source' part (I can make a full list of 4.0 and 4.1 versions available on the Extensions market)?
3.Why I cannot install the plugin 'Slideshow' on an OC installed CKEditor version?
The fact that OC group and CKEditor group are mutually ignoring each other is not helping anyone and slowdown progress.
In regards to ckfinder, with these two statements:
config.filebrowserImageBrowseUrl = '/kcfinder/browse.php?type=images';
config.filebrowserImageUploadUrl = '/kcfinder/upload.php?type=images';
the slideshow plugin was able to retrieve image from server, from existing directory /image/data and create slideshow.
I also installed CKEditor 4.2 in javascript directory (and as I have stated before it doesn't work in OC) but I tested samples that came with it accessing them outside OC directly in the ckeditor/samples directory and it works as described by its providers. Understand what you can!
My feeling is that problems arise for how are interacting with OC the following CKEditor elements:
1. Advanced Content Filter
2. Codemirror
3 The way languages are approached in CKEditor versions above 4.0
When I said 'freeze' is not about functionality. It was in the sense that version 4.0 wasn't upgraded to 4.2. OC 1.5.5.1 and OC 1.5.6 come both with CKEditor 4.0 Standard. It is not normal to not have at least the full version. I understand that is free but I can't retain myself to make this comment. There's nothing wrong with the servers. My install is functioning very well with CKEditor 4.0 which OC 1.5.5.1 came with and also with the extended version that i have pointed you to (CKEditor on Steroids).
My questions are still unanswered:
1. Why a fresh CKEditor 4.2 Full doesn't work on OC 1.5.5.1 when replacing the existing one (I tested it in a bilingual OC)?
2. Why some extended editor versions reset (wipe) code in the 'Source' part (I can make a full list of 4.0 and 4.1 versions available on the Extensions market)?
3.Why I cannot install the plugin 'Slideshow' on an OC installed CKEditor version?
The fact that OC group and CKEditor group are mutually ignoring each other is not helping anyone and slowdown progress.
In regards to ckfinder, with these two statements:
config.filebrowserImageBrowseUrl = '/kcfinder/browse.php?type=images';
config.filebrowserImageUploadUrl = '/kcfinder/upload.php?type=images';
the slideshow plugin was able to retrieve image from server, from existing directory /image/data and create slideshow.
I also installed CKEditor 4.2 in javascript directory (and as I have stated before it doesn't work in OC) but I tested samples that came with it accessing them outside OC directly in the ckeditor/samples directory and it works as described by its providers. Understand what you can!
My feeling is that problems arise for how are interacting with OC the following CKEditor elements:
1. Advanced Content Filter
2. Codemirror
3 The way languages are approached in CKEditor versions above 4.0
Thank you for the note on kcfinder, I'll look anew at kcfinder and ckfinder to see what has probably been changed. My experience with both was essentially the same as what others noted in various forums several months ago.
Thank you, for indirectly highlighting that after the 4. that does work with a wide version range of OC was released, another 4. version that also does work with OC 1.5.5.1 was released, several (no mere few) hours afterward. I have emplaced both into OC without incident, including 4.2 Full in newly installed 1.5.5.1 twice recently. The difference in ckeditors could reside partly in extent of residual supports for IE7 between 4.1.3 and 4.2 and in OC . . . they released two 4. versions on the same day, and changelog http://ckeditor.com/whatsnew covers these:
CKEditor 4.2 (18 Jul 2013)
CKEditor 4.1.3 (18 Jul 2013)
CKEditor 3.6.6.1 (20 Feb 2013)
Otherwise these are most recent:
Build your own version in 3 easy steps
CKEditor nightly build
Thank you, for indirectly highlighting that after the 4. that does work with a wide version range of OC was released, another 4. version that also does work with OC 1.5.5.1 was released, several (no mere few) hours afterward. I have emplaced both into OC without incident, including 4.2 Full in newly installed 1.5.5.1 twice recently. The difference in ckeditors could reside partly in extent of residual supports for IE7 between 4.1.3 and 4.2 and in OC . . . they released two 4. versions on the same day, and changelog http://ckeditor.com/whatsnew covers these:
CKEditor 4.2 (18 Jul 2013)
CKEditor 4.1.3 (18 Jul 2013)
CKEditor 3.6.6.1 (20 Feb 2013)
Otherwise these are most recent:
Build your own version in 3 easy steps
CKEditor nightly build
I already went there. If you carefully read above, I tested several builds of CKEditor versions 4.2. and, the issue I opened is still unsolved and unanswered. Obviously you don't have a clue on why. Before trying any other useless answers, if you are really interested by this topic pick a 4.2 version and do the tests I did.
Lately I tried this http://www.opencart.com/index.php?route ... rch=editor , which has the demo here http://xtensions.in/oc/admin/index.php? ... duct_id=42 with demo , demo for access and this one is wiping the code too. I couldn't try saving in two languages because this demo in uni-lingual. This one is also a fresh install on a demo site.
This code is working perfectly on my site but was wiped by the above demo (once you toggle from source to wysiwyg).
<p><script type="text/javascript">
jwplayer('myplayer').setup({
image: '/video/greetings.jpg',
file: '/video/greetings.mp4',
height: '290',
autostart: true,
controls: false,
width: '150',
provider: "http"
});
</script></p>
It will probably do the same with any code which is not pure HTML.
If there is anyone who wants to try to find answers (or already have them) to this issue one is very welcome to join!
Lately I tried this http://www.opencart.com/index.php?route ... rch=editor , which has the demo here http://xtensions.in/oc/admin/index.php? ... duct_id=42 with demo , demo for access and this one is wiping the code too. I couldn't try saving in two languages because this demo in uni-lingual. This one is also a fresh install on a demo site.
This code is working perfectly on my site but was wiped by the above demo (once you toggle from source to wysiwyg).
<p><script type="text/javascript">
jwplayer('myplayer').setup({
image: '/video/greetings.jpg',
file: '/video/greetings.mp4',
height: '290',
autostart: true,
controls: false,
width: '150',
provider: "http"
});
</script></p>
It will probably do the same with any code which is not pure HTML.
If there is anyone who wants to try to find answers (or already have them) to this issue one is very welcome to join!
I'm actually not the least bit interested in dissecting either three numerical series of ckeditor, which work, or the series of your paragraphs, which don't work. Congratulations, five days into it you're still on your own, with what seemed initially to be making OC work.
I have tested 4.2 on my eshop and it makes me the same problem, second language does not work. It does not store content to form in submit. It can be hacked with javascript, but it is not clean solution.
Visit OpencartEx - Opencart extensions
Opencart rady a návody česky | Podpora Opencart
hawkey, try the 4.1.3 -- the Standard is still downloadable, the Full apparently not, if you want to try 4.1.3 Full but can't find it anywhere, let me know by PM. It might be appropriate to make downloadable (you'd have a handle on that).
Just searching a way around a 4.1.x version is not helping anything. The problem lies in OC compatibility with CKEditor 4.2 versions and following. Sooner or later this has to be solved before hitting a wall. All answers I got are, until now, spam from a guy who pretends not being interested in this topic.
4.1.3 works, but it is not configurable...
But I promise, I will solve it!
But I promise, I will solve it!

Visit OpencartEx - Opencart extensions
Opencart rady a návody česky | Podpora Opencart
hawkey, what are you trying to configure where?
all: http://docs.cksource.com/Main_Page
4: http://docs.ckeditor.com/
more 4: http://docs.ckeditor.com/#!/api/CKEDITOR.editor
and more 4: http://docs.ckeditor.com/#!/guide/dev_configuration
among others.
all: http://docs.cksource.com/Main_Page
4: http://docs.ckeditor.com/
more 4: http://docs.ckeditor.com/#!/api/CKEDITOR.editor
and more 4: http://docs.ckeditor.com/#!/guide/dev_configuration
among others.
This builder - http://ckeditor.com/builder
Visit OpencartEx - Opencart extensions
Opencart rady a návody česky | Podpora Opencart
KeepSmilin:
If you can, you can use my hack.
Add to admin/view/template/footer.tpl this code before </body>
It works for me, but I search another solution.
If you can, you can use my hack.
Add to admin/view/template/footer.tpl this code before </body>
Code: Select all
<script type="text/javascript">
$('form').submit(function() {
$('textarea[id]:not(:visible)', this).each(function() {
if (typeof CKEDITOR.instances[$(this).attr('id')] !== 'undefined') {
$(this).val(CKEDITOR.instances[$(this).attr('id')].getData());
}
});
});
</script>
Visit OpencartEx - Opencart extensions
Opencart rady a návody česky | Podpora Opencart
Who is online
Users browsing this forum: No registered users and 9 guests