Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 09/08/2019 in all areas

  1. 4 points
    puddlec

    TinyMCE

    this is what i managed to achieve. With my first attempt at using the hook system i'll possibly tidy it up a bit on Sunday. and upload it as an addon basically it just works just like the hooks on the shop side. works on all category description, and product descriptions textareas, regardless of how many languages you use. in regards to the themes / plugins / toolbar you can just add / remove them as you see fit (the settings you see in the file are the ones i use myself) it does with work the tinymce CDN (if you got an API KEY), loading locally, or via another CDN (using an CDNJS just to show it works), you can use whatever source you want. the same basic idea can also be used for ck editor, or any other javascript library you think you may need within the admin. tinymce hook.zip
  2. 2 points
    puddlec

    TinyMCE editor for admin

    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
  3. 2 points
    burt

    TinyMCE

    Great stuff @puddlec This addon shows one of the first uses of the Hooks, chapeau! Hooks are incredibly powerful.
  4. 2 points
    puddlec

    TinyMCE

    now available for download https://apps.oscommerce.com/1VCAj&tinymce-editor-for-admin support thread
  5. 2 points
    puddlec

    TinyMCE

    @René H4 this is my current amount of progress. tinymce hook v2.zip
  6. 2 points
    puddlec

    TinyMCE

    Update So I now got it to load on the manufacturer description. And it will only load on the pages where it is needed.
  7. 1 point
    JcM CKEditor V1.0 A simple add-on to let you place a WYSIWYG HTML editor onto your site’s admin. CKEditor 4 Proven, enterprise-grade WYSIWYG HTML editor with wide browser compatibility, including legacy browsers. Paste from Word and Excel, spell check, accessibility checker, tables. Autocomplete, @mentions, widgets, code snippets, emoji 😊 plugins. Full control over content: HTML filtering, view source mode. Great accessibility: WCAG 2.0 AA and Section 508 compliant. Long-term support (LTS) until 2023. For Phoenix simply copy new files into the required places and your done. You can if you like do it the old fashion way as in the frozen method below. For frozen it’s a simple edit of one template file, open :- public_html/admin/includes/template_bottom.php and just before the </body> add this code, <script src="https://cdn.ckeditor.com/4.12.1/standard/ckeditor.js"></script> <script> CKEDITOR.replace( "products_description[1]" ); CKEDITOR.replace( "manufacturers_description[1]" ); CKEDITOR.replace( "categories_description[1]" ); </script> That’s it your done. If you go to admin and edit a product you will see the WYSIWYG HTML editor on the product description box. This is just a simple application of the editor you can expand it as much as you like. It has been tested on Phoenix 1.0.2.0 only. It should however work on other versions and frozen Enjoy.
  8. 1 point
    René H4

    TinyMCE

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

    TinyMCE

    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
  10. 1 point
    peterpil19

    TinyMCE

    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
  11. 1 point
    asro2004

    Stripe v3 module for SCA

    Another update to fix some issues: fix missing payment method in customer order confirmation email separate web hook signing secrets for test and live attempt to resolve 'cannot access empty property' error in stripe_sca.php, line 393 After installing the update, please go directly to the module configuration and re-enter the web hook signing secret for both test and live environments stripe_sca_v1.0.3.zip
×