Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fiber

Members
  • Posts

    199
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Fiber

  1. Update Dutch/Nederlands OSCOM CE Phoenix v1.0.7.14 OSCOM CE Phoenix v1.0.7.14
  2. Update Dutch/Nederlands OSCOM CE Phoenix v1.0.7.13 OSCOM CE Phoenix v1.0.7.13
  3. Addition to the above see picture removed from tinymce's config and also updated to match bootstrap and fontawosome and tinymce from cdnjs <?php /* Copyright (c) 2019, C Poole All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* HOW TO USE you can either load the js file needed for TinyMCE locally or via the TinyMCE CDN (if you have a api key if using TinyMCE CDN use the url proivded to you by TinyMCE if loading tinymce locally <script src="path/to/where/you/saved/it"></script> I recommend using the TinyMCE CDN, as it will keep it up to date. HOW TO ADD TO OTHER TEXTAREAS You will need to add the name of the textera to the selector line e.g. if the textarea name is example_name[1] you need to put , textarea[name^="example_name"] it will then load it on all textareas with example_name so if you have a multi language store, it will load for all languages if the textarea is not on the categories or manufacors page then you will neeed to add the filename to the $good_pages variable HOW TO ADD/RE,OVE PLUGINS AND WHAT APPEARS IN THE TOOLBARS this is done by simply adding/removing stuff from the plugins or toolbar settings it is just what i use personally */ class hook_admin_siteWide_tinymce { var $version = '1.0.3'; var $sitestart = null; var $siteend = null; var $good_pages = ['categories.php', 'manufacturers.php', 'info_pages.php']; // what pages do you want to load the tinymce editor on function listen_injectSiteEnd() { $this->siteend .= '<!-- tiny mce -->' . PHP_EOL; $this->siteend .= '<script src="https://cdnjs.cloudflare.com/ajax/libs/tinymce/5.6.2/tinymce.min.js"></script>' . PHP_EOL; $tinyScript = <<<eod <script> tinymce.init({ selector: 'textarea[name^="products_description"], textarea[name^="categories_description"], textarea[name^="manufacturers_description"], textarea[name^="page_text"]', // Select all textarea we want to use it on height: 500, width: "100%", forced_root_block : false, theme: 'silver', plugins: [ 'advlist autolink lists link image charmap print preview hr anchor pagebreak', 'searchreplace wordcount visualblocks visualchars code fullscreen', 'insertdatetime media nonbreaking save table directionality', 'emoticons template paste textpattern imagetools codesample toc' ], 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', image_advtab: true, relative_urls : true, remove_script_host : true, content_css: [ 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css', 'https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.3/css/bootstrap.min.css' ], setup: function (editor) { editor.on('change', function (e) { editor.save(); }); } }); </script> eod; if (in_array(basename($_SERVER['PHP_SELF']), $this->good_pages)) { $this->siteend .= $tinyScript . PHP_EOL; return $this->siteend; } } }
  4. Update Dutch/Nederlands OSCOM CE Phoenix v1.0.7.12 OSCOM CE Phoenix v1.0.7.12
  5. Update Dutch/Nederlands OSCOM CE Phoenix v1.0.7.11 OSCOM CE Phoenix v1.0.7.11
  6. Hi why using 2.3.4.1 and not the OSCOM CE Phoenix 1.0.7.10? You should at least one Fatal error, install local 2.3.4.1 with your mentioned addon and i got 1 fatal error Fatal error: 'break' not in the 'loop' or 'switch' context in E:\xampp\htdocs\2341\includes\modules\header_tags\ht_theme_switcher.php on line 415 comment out or remove line 415 and all is good. But wouldn't spend time on it and go for the Phoenix version like I said at the beginning.
  7. Dat is geen fout van een language file, doe je gewoon in je admin 🙂
  8. Update CE Phoenix 1.0.7.9 Directory namen languages geüpdatet - admin/includes/languages/ - includes/languages/ Update CE Phoenix 1.0.7.9 @Thnx to René H4
  9. Zojuist de bijgewerkte versie geüpdatet...voorgaande miste idd alleen de s
  10. Yw Ach das apart.. heb ik de verkeerde zitten testen local 🙂 Bedankt voor het doorgeven zal het gelijk corrigeren..
  11. Update CE Phoenix 1.0.7.9 Bestanden geüpdatet - admin/includes/languages/dutch/version_check.php [CE Phoenix 1.0.7.9 update] CE 1.0.7.9 Nederlands/Dutch Volledige versie
  12. Update osC CE Phoenix 1.0.7.7 Dutch/Nederlands osC CE Phoenix 1.0.7.7
  13. Update OSCOM CE Phoenix 1.0.7.6 Dutch/Netherlands 1.0.7.6
  14. Update translation Dutch/Netherlands osCommerce Phoenix CE 1.0.7.5 Dutch/Netherlands 1.0.7.5
  15. Update translation Dutch/Netherlands OSCOM CE Phoenix 1.0.7.4 https://apps.oscommerce.com/Apps&NShzV&vertaling-nederlands https://github.com/Fiber-cyber/catalog
  16. https://apps.oscommerce.com/NShzV&vertaling-nederlands&c=languages
  17. I had the same issue, after upgrading to 1.0.3.0 If you overwrite admin/includes/template_top.php make also the changes for ajax attribute manager
  18. @raiwa After install Options Images CE Phoenix 1.6.1. error on product_info.php; 1054 - Unknown column 'popt.products_options_sort_order' in 'order clause' select distinct popt.products_options_id, popt.products_options_name from products_options popt, products_attributes patrib where patrib.products_id='6' and patrib.options_id = popt.products_options_id and popt.language_id = '2' order by popt.products_options_sort_order, popt.products_options_name
  19. Hoi HansM dat zijn logische fouten en/of errors, zal je nog wel meer krijgen dan idd kopieëren en plaatsen in de betreffende directory van dutch en vertalen. Voordat ik een addon installeer kopieër ik de engelse taalfile's, vertaal ik ze en dan de addon installeren, ben je gelijk klaar :)
×
×
  • Create New...