Jump to content

Recommended Posts

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


PROUDLY PASSIONATE PHOENIX SUPPORTER

Full-time I am a C-suite executive of a large retail company in Australia. In my spare time, I enjoying learning about web-design.

Download the latest version of CE Phoenix from gitHub here

Join the Phoenix Club. Become a Phoenix Supporter.  Gain access to special codes and modules and help the project thrive. Read here

 

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

 


App created for phoenix
TinyMCE editor for admin

 

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


PROUDLY PASSIONATE PHOENIX SUPPORTER

Full-time I am a C-suite executive of a large retail company in Australia. In my spare time, I enjoying learning about web-design.

Download the latest version of CE Phoenix from gitHub here

Join the Phoenix Club. Become a Phoenix Supporter.  Gain access to special codes and modules and help the project thrive. Read here

 

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


Please do not falsify my words. Are you interested in knowing who does it? Send me a PM.

The Phoenix Club won't allow me to join - why not?

Setting up a new Frozen site with so many nice addons available on the market. 

:heart: 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

The addon works very well, but to expand the capabilities I installed it locally and additionally added 2 external modules: A flexible file manager and an advanced code editor.
I think that you need to check and apply the security options that are in the file manager and expand the capabilities of working with this add-on, for example, to download product images to make it convenient and visual.
This also allows you to adapt the user.pxp file to the editor.
If you want to check the operation of my version with the local TINY, try and give your recommendations for the full adaptation of this option. NinyMCE editor in Phoenix.
I think this addon should be one of the main ones for the new version of the Admin.
Application:
1. Product Description
2. Description of categories
3. Information pages and information blocks on other pages. (I think we need an advanced module of information content with the ability to add additional information pages to the store’s website).
4. Articles
5. Categories of articles.

It will be a powerful content editor. Information content is an important part of the content of commercial sites, and if this is a real Phoenix option, this is an additional opportunity for its rapid promotion.

Installation:

Upload files/
Edit please 2 files:
admin/ext/tinymce/filemanager/config/config.php
includes/hooks/admin/siteWide/tinymce.php

Change - YOUR_SITE - to your site domain name

Download ZIP file

Thank You puddlec !!!

Edited by Fredi

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

Has anyone from the community tried my version with a file manager?


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
6 minutes ago, Heatherbell said:

Sorry I couldn't download the zip from google drive - please attach a zip file - not a google drive link.

Max limit on the forum for attachments is 0.9mb the zip file is 2.24mb

i did have problems downloading the file, the only way i was able to was save to add it to my google drive and then download from that


App created for phoenix
TinyMCE editor for admin

 

Share this post


Link to post
Share on other sites

And change please line 51 toyour language.

  language: 'ru',

in file   includes/hooks/admin/siteWide/tinymce.php


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

Yes, this is a large file. It includes the full version of TinyMCE with additional modules.
I want to be tested and then it will be possible to add a module option to Addons.


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
20 hours ago, Fredi said:

Has anyone from the community tried my version with a file manager?

Yes thanks for that, it works fine in the testshop...handy 🙂
 

Share this post


Link to post
Share on other sites
19 hours ago, Fredi said:

And change please line 51 toyour language.


  language: 'ru',

in file   includes/hooks/admin/siteWide/tinymce.php

I change it in nl, but i have not the languagefile voor dutch i download it here https://www.tiny.cloud/get-tiny/language-packages/ and place the .js in the language-directory admin/ext/tinymce/langs/

 

tinynl.png

Share this post


Link to post
Share on other sites

I want to use this file manager to upload image pictures. This would be very convenient for visually forming a gallery of product images.
But unfortunately I am not an encoder and I can’t do it myself, I think it’s not difficult, but I lack programming knowledge and experience.
213415.jpg.07205ae2d12a1ab8253e582bee9ad257.jpg

219777.jpg

Edited by Fredi

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

In my TinyMCE version of the built-in editor, another external module is added. The code. It provides color code display and line numbering. Check this option also please. Import of the user.css file is also included. This makes it easy to embed your stylesheet in any editable file.
If you installed my version of the editor, please check these options as well.


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

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

×