Supported OpenCart Versions:
================
v1.4.7, v1.4.8, v1.4.9.x
What does it do:
================
This will allow you to use TinyMCE as your wysiwyg editor instead of ckeditor. Only have to add 3 lines to one file.
How to Install:
================
1. Upload included admin folder to your store root, preserving directory structure (No files are overwritten)
2. EDIT: admin/view/template/common/footer.tpl
3. FIND:
-----------------------------------
</body>
-----------------------------------
4. BEFORE, ADD:
-----------------------------------
<script type="text/javascript" src="view/javascript/wysiwyg/tiny_mce/tiny_mce_gzip.js"></script>
<script type="text/javascript" src="view/javascript/wysiwyg/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript" src="view/javascript/wysiwyg/oc_tinymce.js"></script>
-----------------------------------
5. Now when you load pages that used to have ckeditor, they should have tinymce.
Additional Features:
=====================
- Uses the full "advanced" theme and includes most plugins
- Uses a dynamic trigger. To make any editor use TinyMCE, just add class="editor" to the <textarea> tag
Limitations:
=====================
- I haven't figured out how to make the opencart image manager work with tinymce yet. So it just uses the default tinymce image manager.
And has no limitation (use the OpenCart image manager).
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
actually I tried yours and it doesn't work for me...OSWorX wrote:Nice work - but a replacement for the buggy CKEditor with TinyMCE exists already since 07.2010: http://osworx.net/en/downloads/cat_view ... ns?start=5
And has no limitation (use the OpenCart image manager).

Opencart specialist | Our website | Our modules
Oh yea? well i had mine first since 11.2008 for the old opencart:OSWorX wrote:Nice work - but a replacement for the buggy CKEditor with TinyMCE exists already since 07.2010: http://osworx.net/en/downloads/cat_view ... ns?start=5
http://forum.opencart.com/viewtopic.php ... mce#p11781
and then again for 1.3.4 in 08.2009
http://forum.opencart.com/viewtopic.php ... mce#p28699
So there



Opencart specialist | Our website | Our modules
hmm it still had some issues on one of my pages but I removed the links to the MCEditor... so now it's all good...Qphoria wrote:I've updated the file to change the readme to use footer now instead of header. That seems to have fixed it on both of my sites so I will just change this thread to reflect that and remove all the indices of the double editor


Opencart specialist | Our website | Our modules
It didn't work for me. I had both editors showing, so I had to rename the ckeditor folder.Qphoria wrote: I've made it so that the script will just remove the ckeditor and replace it with the TinyMCE editor for those that don't want to get rid of it manually
Also, where do the styles come from in the pull-down menu? I was hoping that they'd be from the stylesheet, but it doesn't look like it. Is there a way to see our own CSS styles while working in TinyMCE?
Thanks,
Marc
OpenCart v1.4.9.4
VQMod | Categories Home | Cleaner By Default - 2 Column | Speak Good English
Would someone mind elaborating on why this is something I want to do? I just don't know much about either. What are the pros / cons of TinyMCE vs. the current editor?
Also - anyone know if it is working fully with the supplied code for 1.4.9.3?
Thank you,
Jared
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
Basically CKEditor is quite good - if you have only one (1) language installed.jcgadgets wrote:Hey all,
Would someone mind elaborating on why this is something I want to do? I just don't know much about either. What are the pros / cons of TinyMCE vs. the current editor?
Also - anyone know if it is working fully with the supplied code for 1.4.9.3?
Thank you,
Jared
But if more - you are getting in troubles (as discussed in this forum many times long ago).
Read why here: http://osworx.net/en/development/43-ope ... f-ckeditor
and also the working solution (TinyMCE plus replacement of core files for 1.4.9.3).
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Thank you for the replies. I just have one language installed, and don't really have a problem with the current editor and don't want to be doing any more hacking than I have need to do, so I'll be sticking with the default.
Thanks!
Jared
It was something I did a while back.. it was after I made it work that I realized it was too much of a PITA to have all this bloat. I'm trying to get NicEdit to work but the project is all but dead and while I did manage to modify the code to add support for getting elements by class, there is still the issue of it not working when you submit the form with an external button. If you have an input type="submit" it saves fine, but most forms in the admin use the "save" button at the top in the button bar that is really just an anchor link that calls a jquery submit function. This works fine for ckeditor and tinymce.. but not for nicedit... so its unfortunately likely too far dead of a project to keep up with.Xsecrets wrote:honestly I prefer the default ckeditor to tinymce. I've had nothing but headaches out of tinymce through the years. I'm rather supprised to see Q putting out tinymce since I though he was more fond of the newer breed of ultra lightweight editors.
http://www.wyzz.info/ is a nice light one at 10k.. but there are of course missing perks some claim to need.
Inside any *.tpl (xyz_form.tpl) at the backend you like to use the TinyMCE.ratnalaurentina wrote:What files do I have to edit to enable my site fully support TinyMCE? In which files do I have to add class="editor" to the <textarea> tag? Thanks
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
I scrtached my head on it for a while debugging and i just tried it, taking away the jquery in the amdin footer so it would revert back to the old and after that the data was passing through normally.
Didn't have the time to look at it too much becuase it was a live site so pressure was on to just get it done.
I told the client get CHROME, FIREFOX anything but non techy people think it will take days to install a new browser so they just asked me to fix it,that is my job, but a frustrating moment.
just a shame i couldn;t get it to work too well, maybe there were some conflicts, i do have some .cufon and zoom, vqmods so maybe they all just fought againts it, anyway, thought after experiencing that i would post this on here for people to read over my experience.
But this is a great job and i recommedn trying it becuase i did find the word looking layout much easier for a client to understand.
Thanks Q for the contribution, it is very much appreciated.
Chris
Regards
Chris
Users browsing this forum: No registered users and 1 guest