Jump to content
Sign in to follow this  
René H4

TinyMCE

Recommended Posts

@puddlecExcellent! Just removed the old code that I installed yestserday.

Could you please provide the corrected code?

Share this post


Link to post
Share on other sites
2 hours ago, burt said:

Excellent work @puddlec - loads of people will be very happy with this!

I could not agree more!

@puddlec I'm really looking forward to using this app once available. Thanks for making the time to work on it!

Peter


Full-time I am a C-suite executive of a large retail company in Australia.

I am enjoying learning about web-design.

CE Phoenix is the best and only version of osCommerce worth considering. Download it here: https://github.com/gburton/CE-Phoenix

Share this post


Link to post
Share on other sites

::thumbsup::

I have it working for the defined pages!

Can even define what I would like to have "quick editable":

  toolbar1: 'undo redo | insert | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image',
  toolbar2: 'print preview media | forecolor backcolor  | codesample fontselect fontsizeselect',

Nice!

I don't see the TinyMCE in an order when I add orders.php to the var's.

What could be the reason for that?

Share this post


Link to post
Share on other sites
5 minutes ago, René H4 said:

::thumbsup::

I have it working for the defined pages!

Can even define what I would like to have "quick editable":

  toolbar1: 'undo redo | insert | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image',
  toolbar2: 'print preview media | forecolor backcolor  | codesample fontselect fontsizeselect',

Nice!

I don't see the TinyMCE in an order when I add orders.php to the var's.

What could be the reason for that?

you also need to add, the textarea name in the selector (line 51)

if it is the comments box then the line 51 should be
 

  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

 

Share this post


Link to post
Share on other sites
7 minutes ago, puddlec said:

you also need to add, the textarea name in the selector (line 51)

if it is the comments box then the line 51 should be
 


  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

  

A hook could have it's own configuration page (beside's a module page, what is limited). Just saying ;)
 


- ICECAT specialist.
(Icecat: open feed with product information, data-sheets for oscommerce.)
- CSV IMPORT specialist.
(manage your suppliers via supplier manager)
Contact me via PM.

Share this post


Link to post
Share on other sites
1 hour ago, puddlec said:

you also need to add, the textarea name in the selector (line 51)

if it is the comments box then the line 51 should be
 


  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

 

@puddlecAh, never saw that! It works well, tested it a few times. Thanks again!

 

Share this post


Link to post
Share on other sites

Great stuff @puddlec

This addon shows one of the first uses of the Hooks, chapeau!    Hooks are incredibly powerful.


This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest Responsive osCommerce CE (community edition) here

Share this post


Link to post
Share on other sites

I just installed.

So simple. One file, no code changes. Hooks are awesome!

Peter


Full-time I am a C-suite executive of a large retail company in Australia.

I am enjoying learning about web-design.

CE Phoenix is the best and only version of osCommerce worth considering. Download it here: https://github.com/gburton/CE-Phoenix

Share this post


Link to post
Share on other sites

Excellent addon @puddlec.

We need more addon like yours to boost Phoenix since there are very few addons and the core of Phoenix is awesome!

regards

Valqui


Running Old EDGE, setting up a new Frozen site with many nice addons available on the market and playing with Phoenix!

Community Oscommerce fan :heart:

 

Share this post


Link to post
Share on other sites

Removed Off Topic Posts.  Thanks all.


This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
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
Sign in to follow this  

×