X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Back port CKEditor, TinyMCE, and InnovaStudio WYSIWYG editors from 4.3 (https://forum.x-cart.com/showthread.php?t=52365)

manishp 02-16-2010 08:09 AM

Back port CKEditor, TinyMCE, and InnovaStudio WYSIWYG editors from 4.3
 
I was wondering if any of the great minds have already tried to back-port the WYSIWYG editors included in 4.3 to an older release.. 4.2.2 for example.

I think the 3 editors will provide great flexibility and will be a great thing to look at.

I will probably be adding this to my list of ToDo's in case no one has ever tried:D

So please share the good work if anyone has already accomplished this.

pauldodman 02-16-2010 08:15 AM

Re: Back port CKEditor, TinyMCE, and InnovaStudio WYSIWYG editors from 4.3
 
Not done those ones - if you decide to do it yourself - you might get some pointers in this thread -
http://forum.x-cart.com/showthread.php?t=29771&page=2&highlight=fckeditor

also keep an eye on Phil's site - it's the kind of thing you'd expect him to do/have done.

manishp 02-16-2010 06:01 PM

Re: Back port CKEditor, TinyMCE, and InnovaStudio WYSIWYG editors from 4.3
 
1 Attachment(s)
Thanks Paul for the link and pointing out some great work done by Phil.

After poking around, I was able to back port this from 4.3 to 4.2.1.

Here is what I did, run the attached scripts which are basically taken from the DB scripts for 4.3.

I then had to copy the folder -
skin1\modules\HTML_Editor onto my xcart folder.

Carefully update or add the files located at -
modules\HTML_Editor\config.php
skin1\main\start_textarea.tpl
skin1\main\textarea.tpl

Once you do so, just follow the manual for xcart to switch between the 3 editors :lol:

benz 03-13-2010 05:51 PM

Re: Back port CKEditor, TinyMCE, and InnovaStudio WYSIWYG editors from 4.3
 
For anyone thinking of trying this on 4.1.* there are a lot of other files to change as well, new smarty modifiers exist and extra functions were added into func.core.php from 4.2 onwards that the editors require - in short its not worth the trouble!

Its much simpler to add a new editor from scratch to 4.1.* as per this thread
http://forum.x-cart.com/showthread.php?t=29771


All times are GMT -8. The time now is 09:02 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.