Jump to content

Recommended Posts

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

  1. 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

 

 


Phoenix support now at https://phoenixcart.org/forum/
App created for phoenix
TinyMCE editor for admin

 

Share this post


Link to post
Share on other sites
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

  1. 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?

Share this post


Link to post
Share on other sites

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.

 


Support forum for osCommerce in russian language - from Ashkelon. Support since 2002.

Best regards,

Fredi

Share this post


Link to post
Share on other sites
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 :)


Download the latest Phoenix version here: https://github.com/gburton/CE-Phoenix/archive/master.zip
Read & Learn more: Phoenix User Guide

Share this post


Link to post
Share on other sites
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

image.thumb.png.077375be5618cda28664a8cf3f3b0f5d.png


Phoenix support now at https://phoenixcart.org/forum/
App created for phoenix
TinyMCE editor for admin

 

Share this post


Link to post
Share on other sites
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).


Download the latest Phoenix version here: https://github.com/gburton/CE-Phoenix/archive/master.zip
Read & Learn more: Phoenix User Guide

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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!


Download the latest Phoenix version here: https://github.com/gburton/CE-Phoenix/archive/master.zip
Read & Learn more: Phoenix User Guide

Share this post


Link to post
Share on other sites

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

 

 


Phoenix support now at https://phoenixcart.org/forum/
App created for phoenix
TinyMCE editor for admin

 

Share this post


Link to post
Share on other sites
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!


Download the latest Phoenix version here: https://github.com/gburton/CE-Phoenix/archive/master.zip
Read & Learn more: Phoenix User Guide

Share this post


Link to post
Share on other sites
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 by jonwix

Share this post


Link to post
Share on other sites
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


Phoenix support now at https://phoenixcart.org/forum/
App created for phoenix
TinyMCE editor for admin

 

Share this post


Link to post
Share on other sites

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. 

Share this post


Link to post
Share on other sites
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.


Download the latest Phoenix version here: https://github.com/gburton/CE-Phoenix/archive/master.zip
Read & Learn more: Phoenix User Guide

Share this post


Link to post
Share on other sites
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


Get the latest Responsive osCommerce CE (community edition) here .

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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! :D


Download the latest Phoenix version here: https://github.com/gburton/CE-Phoenix/archive/master.zip
Read & Learn more: Phoenix User Guide

Share this post


Link to post
Share on other sites

@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 by puddlec

Phoenix support now at https://phoenixcart.org/forum/
App created for phoenix
TinyMCE editor for admin

 

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites
18 hours ago, jonwix said:

try the version i have attached

thank you, seems to work ok now, new products are saved


osC CE live - developing osC Phoenix adding modules with no core changes(awesome and easy!)

Share this post


Link to post
Share on other sites


@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! :D

Except when they are the boss, or owner .... <sigh>


Get the latest Responsive osCommerce CE (community edition) here .

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×