puddlec Posted September 8, 2019 Share Posted September 8, 2019 This addon adds support for the TinyMCE editor within the admin section. what does this addon do? it will add the editor to the following textarea's category description, manufacturers description, product description works with multi languages stores. requirements Phoenix How to install Upload the files yes it is easy as that. no files need to be edited it uses the hook system, to add the code needed. How to change what appears on the toolbars, and plugins used Just go to the tinymce.php hook file located at catalog\includes\hooks\admin\siteWide\ you will see a block of code for plugins (line 61) and for toolbar 1 & 2 (line 67 & 68) the settings provided are what i use myself. Got an TinyMCE API key? just change the script source (line 53) How to add extra textarea's example add TinyMCE to the order comments box add orders.php to (line 44) like so var $good_pages = ['categories.php', 'manufacturers.php', 'orders.php']; then add the name of the textarea (comments) to the selector (line 52) selector: 'textarea[name^="products_description"], textarea[name^="categories_description"], textarea[name^="manufacturers_description"], textarea[name^="comments"]', // what textarea's do we want to load TinyMCE on valquiria23, Mikepo and burt 1 2 Quote Phoenix support now at https://phoenixcart.org/forum/ App created for phoenixTinyMCE editor for admin Link to comment Share on other sites More sharing options...
LeeFoster Posted September 8, 2019 Share Posted September 8, 2019 1 hour ago, puddlec said: This addon adds support for the TinyMCE editor within the admin section. what does this addon do? it will add the editor to the following textarea's category description, manufacturers description, product description works with multi languages stores. requirements Phoenix How to install Upload the files yes it is easy as that. no files need to be edited it uses the hook system, to add the code needed. How to change what appears on the toolbars, and plugins used Just go to the tinymce.php hook file located at catalog\includes\hooks\admin\siteWide\ you will see a block of code for plugins (line 61) and for toolbar 1 & 2 (line 67 & 68) the settings provided are what i use myself. Got an TinyMCE API key? just change the script source (line 53) How to add extra textarea's example add TinyMCE to the order comments box add orders.php to (line 44) like so var $good_pages = ['categories.php', 'manufacturers.php', 'orders.php']; then add the name of the textarea (comments) to the selector (line 52) selector: 'textarea[name^="products_description"], textarea[name^="categories_description"], textarea[name^="manufacturers_description"], textarea[name^="comments"]', // what textarea's do we want to load TinyMCE on Next step to allow control of API, Pages etc from admin? Quote Link to comment Share on other sites More sharing options...
Fredi Posted October 10, 2019 Share Posted October 10, 2019 Thanks for your addon. Easy and quick to install. Installed locally on the test site Phoenix and added responsive_filemanager as a module. It is very convenient to work, especially with images. Quote Support forum for osCommerce in russian language - from Ashkelon. Support since 2002.Best regards, Fredi Link to comment Share on other sites More sharing options...
Heatherbell Posted October 29, 2019 Share Posted October 29, 2019 On 9/8/2019 at 4:14 PM, puddlec said: This addon adds support for the TinyMCE editor within the admin section. Thanks for this addon - was working great until latest upgrade to 1.0.3.0 - now does not show on products description. Any advice appreciated Quote Link to comment Share on other sites More sharing options...
puddlec Posted October 29, 2019 Author Share Posted October 29, 2019 18 minutes ago, Heatherbell said: Thanks for this addon - was working great until latest upgrade to 1.0.3.0 - now does not show on products description. Any advice appreciated does it work on the categories description? i have just tried it myself in 1.0.30 and it works Quote Phoenix support now at https://phoenixcart.org/forum/ App created for phoenixTinyMCE editor for admin Link to comment Share on other sites More sharing options...
Heatherbell Posted October 29, 2019 Share Posted October 29, 2019 21 minutes ago, puddlec said: i have just tried it myself in 1.0.30 and it works Many thanks for your reply - I can confirm that it does work on my clean install of 1.0.3.0. So sorry for my mistake - it is a problem with my upgrade on old categories file. (shame face). Quote Link to comment Share on other sites More sharing options...
♥Moxamint Posted October 29, 2019 Share Posted October 29, 2019 32 minutes ago, Heatherbell said: Many thanks for your reply - I can confirm that it does work on my clean install of 1.0.3.0. So sorry for my mistake - it is a problem with my upgrade on old categories file. (shame face). Have you figured out how the old add-on affected TinyMCE? I had the same issue previously and it turned out the javascript of the other add-on loaded too early and thus the issue. Eddy Quote Link to comment Share on other sites More sharing options...
Heatherbell Posted October 29, 2019 Share Posted October 29, 2019 Just now, Moxamint said: Have you figured out how the old add-on affected TinyMCE? All fixed now and this addon works great (thanks again @puddlec) - I found I had some old TinyMCE addon code still in application_top (head slap) - my categories.php is ancient! Love the new 1.0.3.0! Moxamint 1 Quote Link to comment Share on other sites More sharing options...
puddlec Posted October 29, 2019 Author Share Posted October 29, 2019 That's the advantage with the hook system that was used ( as well as using modules to add new features) , less chance of things going wrong. as well as so much simpler to install as well I've managed to break all sorts of things in the past when installing / updating addons in the past. i will of course check against future releases of phoenix, to make sure everything still works Heatherbell, yeno and Moxamint 1 2 Quote Phoenix support now at https://phoenixcart.org/forum/ App created for phoenixTinyMCE editor for admin Link to comment Share on other sites More sharing options...
Heatherbell Posted October 29, 2019 Share Posted October 29, 2019 1 minute ago, puddlec said: I've managed to break all sorts of things in the past when installing / updating addons in the past. Oh yes - I know that feeling well - the new hooks system in Phoenix is brilliant! Quote Link to comment Share on other sites More sharing options...
jonwix Posted October 29, 2020 Share Posted October 29, 2020 Any chance of getting this to work with Phoenix 1.0.7.9? Quote Link to comment Share on other sites More sharing options...
puddlec Posted October 30, 2020 Author Share Posted October 30, 2020 9 hours ago, jonwix said: Any chance of getting this to work with Phoenix 1.0.7.9? just tried it it works perfectly fine, just make sure you are uploading to the correct place René H4 1 Quote Phoenix support now at https://phoenixcart.org/forum/ App created for phoenixTinyMCE editor for admin Link to comment Share on other sites More sharing options...
jonwix Posted November 2, 2020 Share Posted November 2, 2020 (edited) On 10/30/2020 at 5:22 AM, puddlec said: just tried it it works perfectly fine, just make sure you are uploading to the correct place It does show up in the product description editor, like it should. It does work, as far as using the toolbar, but I have a problem where I cannot save the product with add-on installed. If I remove the add-on, everything works as it should. I just tested it on a brand new installation of phoenix on a different domain and your add-on is the only one installed, and it still does not work. If you create a new product, fill in every required field, and try to save, the button will not work. Edited November 3, 2020 by jonwix Quote Link to comment Share on other sites More sharing options...
puddlec Posted November 3, 2020 Author Share Posted November 3, 2020 10 hours ago, jonwix said: It does show up in the product description editor, like it should. It does work, as far as using the toolbar, but I have a problem where I cannot save the product with add-on installed. If I remove the add-on, everything works as it should. I just tested it on a brand new installation of phoenix on a different domain and your add-on is the only one installed, and it still does not work. If you create a new product, fill in every required field, and try to save, the button will not work. it does do that for some unkown reason, on new products,, but is perfectly fine on existing products, and works on creating new categories Quote Phoenix support now at https://phoenixcart.org/forum/ App created for phoenixTinyMCE editor for admin Link to comment Share on other sites More sharing options...
jonwix Posted November 3, 2020 Share Posted November 3, 2020 That's exactly my problem. It worked fine on products that were imported into the database from phpmyadmin, but as far as creating new products, I had to uninstall the add-on to get the product to save. Very bizarre. Quote Link to comment Share on other sites More sharing options...
Heatherbell Posted November 3, 2020 Share Posted November 3, 2020 Just now, jonwix said: I had to uninstall the add-on to get the product to save. A quicker workaround is to use "Copy to" > "Duplicate product" of an existing product and then edit that. jonwix 1 Quote Link to comment Share on other sites More sharing options...
jonwix Posted November 3, 2020 Share Posted November 3, 2020 That's not a bad idea. Thanks. Quote Link to comment Share on other sites More sharing options...
ArtcoInc Posted November 3, 2020 Share Posted November 3, 2020 7 hours ago, Heatherbell said: A quicker workaround is to use "Copy to" > "Duplicate product" of an existing product and then edit that. Just from personal experience, in a prior job, people wanted to set up filled-in templates to make the creation of a new job easier. What I found was that there were so many details in the creation of that job, that inevitably people missed one (or more) details, resulting in the job having the 'default' template detail. Personally, I found it better to just create the new job from scratch, that way, unwanted details were not being accidentally entered. That said, why doesn't TinyMCE work when entering a new product? What's the root-cause of the problem (instead of trying to find a patch)? Just my two cents ... Malcolm Quote Link to comment Share on other sites More sharing options...
puddlec Posted November 3, 2020 Author Share Posted November 3, 2020 I think I found a fix, could not do much about it as my work internet connection, is terrible, it was barely useable today's should have a fix out Tomorrow Quote Phoenix support now at https://phoenixcart.org/forum/ App created for phoenixTinyMCE editor for admin Link to comment Share on other sites More sharing options...
jonwix Posted November 4, 2020 Share Posted November 4, 2020 6 hours ago, puddlec said: I think I found a fix, could not do much about it as my work internet connection, is terrible, it was barely useable today's should have a fix out Tomorrow That's good news. Looking forward to the update. Quote Link to comment Share on other sites More sharing options...
Heatherbell Posted November 4, 2020 Share Posted November 4, 2020 9 hours ago, ArtcoInc said: Just from personal experience, in a prior job, people wanted to set up filled-in templates to make the creation of a new job easier. What I found was that there were so many details in the creation of that job, that inevitably people missed one (or more) details, resulting in the job having the 'default' template detail. Just from my personal experience, in a prior job, if personnel continually did not double check their data entry, they would inevitably end up with no job! René H4 1 Quote Link to comment Share on other sites More sharing options...
puddlec Posted November 4, 2020 Author Share Posted November 4, 2020 (edited) @jonwix @Heatherbell try the version i have attached, should be fixed now, also added support for the information pages TinyMCE 1.0.5.zip Edited November 4, 2020 by puddlec René H4, jonwix, burt and 1 other 1 3 Quote Phoenix support now at https://phoenixcart.org/forum/ App created for phoenixTinyMCE editor for admin Link to comment Share on other sites More sharing options...
jonwix Posted November 4, 2020 Share Posted November 4, 2020 5 minutes ago, puddlec said: try the version i have attached, should be fixed now, also added support for the information pages TinyMCE 1.0.5.zip I'll give it a shot, and let you know the outcome. Thanks! Quote Link to comment Share on other sites More sharing options...
Mikepo Posted November 5, 2020 Share Posted November 5, 2020 18 hours ago, jonwix said: try the version i have attached thank you, seems to work ok now, new products are saved Quote osC CE live - developing osC Phoenix adding modules with no core changes(awesome and easy!) Link to comment Share on other sites More sharing options...
ArtcoInc Posted November 5, 2020 Share Posted November 5, 2020 @Heatherbell On 11/3/2020 at 10:49 PM, Heatherbell said: Just from my personal experience, in a prior job, if personnel continually did not double check their data entry, they would inevitably end up with no job! Except when they are the boss, or owner .... <sigh> Heatherbell 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.