Jump to content

puddlec

Members
  • Content count

    317
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by puddlec

  1. puddlec

    I'm new to oscommerce

    it is because the language pack was designed for an order version, and has not been updated to include support for Phoenix which has in some places, added more language definitions so your best bet is to copy the English language files, into the danish folder, and then translating them
  2. 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. puddlec

    TinyMCE editor for admin

    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
  4. puddlec

    TinyMCE editor for admin

    does it work on the categories description? i have just tried it myself in 1.0.30 and it works
  5. puddlec

    PHP7: security update

    and effects PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 so for most people it won't effect them as it does not effect Apache based servers
  6. puddlec

    TinyMCE

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

    Marketplace Category/Version Cleanup

    just moved my app to phoenix, then used the drop down, and it comes up.
  8. use htaccess (based on site being in root directory) <FilesMatch ".(jpg|png|gif)$"> ErrorDocument 404 /images/image-unavailable.gif </FilesMatch>
  9. puddlec

    Facebook Shop

    it does not work, for any version of OSCommerce, apart from the addon, not being in the download ( it is just a html document), the domain name listed is no longer working, which it teels you to go to.
  10. have you changed the English language file? line 39 + 40 // if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language) define('LANGUAGE_CURRENCY', 'GBP');
  11. puddlec

    TLS not working at all

    also you should consider installing phoenix. as it has many advantages over the version you are currently using e.g. works on newer versions of PHP responsive design, so it is a lot easier for your customers to use on their mobiles easier to install addons - most require no changes to files to get them to work currently active supported and updated it can be downloaded from here https://www.oscommerce.com/Products or from https://github.com/gburton/CE-Phoenix
  12. puddlec

    TLS not working at all

    it is a known issue with Paypal, the URL that the checks are made against no longer exists, so it fails
  13. puddlec

    TinyMCE

    now available for download https://apps.oscommerce.com/1VCAj&tinymce-editor-for-admin support thread
  14. 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
  15. puddlec

    TinyMCE

    @René H4 this is my current amount of progress. tinymce hook v2.zip
  16. 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.
  17. puddlec

    TinyMCE

    Thanks for that, I'll add it in.
  18. puddlec

    TinyMCE

    Ckeditor (or any other scripts) can be added into the admin using the same method that I used. Not sure how ckeditor manages it but you can add in any external stylesheet into tinymce. Like I did with the bootstrap css
  19. 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
  20. puddlec

    TinyMCE

    got it working, for some reason all the other config i used ' and on that line i used "
  21. puddlec

    TinyMCE

    just managed it. it only loads on the selected textareas e.g. product description and category description. if using multiple languages, you would need to make a small edit to the file to use tinymce with those languages. due to how the name of each field works ( it includes a number)
  22. puddlec

    TinyMCE

    Done a little bit of it. Getting the code added to the admin. Using the admin hook. Just can't work out how to target specific textareas.(could only see name, no I'd or class) Or would it be better to just include it in all textareas?
  23. could be done by copying cm_in_category_listing.php from index_nested to index_products made the required changes e.g. changing in to ip
  24. in tpl_cm_navbar.php line 10 <div class="collapse navbar-collapse" id="collapseCoreNav"> i added flex-wrap which gets it like https://getbootstrap.com/docs/4.3/utilities/flex/#wrap
  25. i had a look and no table-responsive exists also line 68 in account history <th scope="row"><?php echo $history['orders_id']; ?></td> opening tag is th closing is td in the shopping basket page the table is within a div with <div class="table-responsive"> which would sort the issue
×