Jump to content

Fiber

Members
  • Content count

    199
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Like
    Fiber got a reaction from René H4 in Dutch translation osC Phoenix 1.0.6.2   
    Update Dutch/Nederlands OSCOM CE Phoenix v1.0.7.14
    OSCOM CE Phoenix v1.0.7.14
  2. Like
    Fiber got a reaction from René H4 in Dutch translation osC Phoenix 1.0.6.2   
    Update Dutch/Nederlands OSCOM CE Phoenix v1.0.7.12
    OSCOM CE Phoenix v1.0.7.12
     
  3. Like
    Fiber reacted to Denzel in TinyMCE editor for admin   
    The TinyMCE has issues with the required argument of html5. Found some threads on stack and git... 
    This fix works for me with Phoenix CE 1.0.7.12:
    Add this lines into the init call into the hook:
    setup: function (editor) { editor.on('change', function (e) { editor.save(); }); } so that it looks like this:
    <?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.0.15/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 contextmenu directionality', 'emoticons template paste textcolor colorpicker 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.8.1/css/all.min.css', 'https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/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; } } } I have already added the Info-Pages textareas. Maybe Craig @puddlec can upload it as update into the marketplace. 
  4. Thanks
    Fiber got a reaction from burt in Dutch translation osC Phoenix 1.0.6.2   
    Update Dutch/Nederlands OSCOM CE Phoenix v1.0.7.11
    OSCOM CE Phoenix v1.0.7.11
     
  5. Like
    Fiber got a reaction from burt in Youtube Video for Product   
    Put some info or something like that and why plain text? 

  6. Thanks
    Fiber got a reaction from burt in Dutch translation osC Phoenix 1.0.6.2   
    Update CE Phoenix 1.0.7.10
    Phoenix CE 1.0.7.10
  7. Thanks
    Fiber got a reaction from René H4 in Dutch translation osC Phoenix 1.0.6.2   
    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
  8. Thanks
    Fiber got a reaction from burt in Dutch translation osC Phoenix 1.0.6.2   
    https://apps.oscommerce.com/NShzV&vertaling-nederlands&c=languages
  9. Thanks
    Fiber got a reaction from burt in Dutch translation osC Phoenix 1.0.6.2   
    https://apps.oscommerce.com/NShzV&vertaling-nederlands&c=languages
  10. Thanks
    Fiber reacted to raiwa in AJAX Attribute Manager support   
    Uploaded new package :
    AJAX Attribute Manager Phoenix
    with;
    v 3.0.0 for Phoenix 1.0.0.0-1.0.2.x (older BS version support removed)
    v3.1.0 for Phoenix 1.0.3.x
    changes:
    + Updated for Phoenix 1.0.3.x compatibility
    + hooked all modifications
    + no core file modifications at all
    + removed modified files and references for older BS version
  11. Like
    Fiber reacted to raiwa in AJAX Attribute Manager support   
    I had a look and the attributes manager can be hooked in the new categories.php => no more file editing. Coming soon.
  12. Like
    Fiber reacted to raiwa in [Addon] Options with Images Module for Modular Product Page (Responsive)   
    I just check and I do not have this in the module of the last version.
    Maybe you added/modified the query for sort order support?
    Just remove
    popt.products_options_sort_order   from the query in the options images module.
    So the query should look like this at the end:
    order by popt.products_options_name Or add sort order addon or AJAX attributes manager with sort option enabled.
  13. Like
    Fiber got a reaction from HansM in Dutch Language Incl Admin   
    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  :)
  14. Like
    Fiber got a reaction from raiwa in Store Mode BS   
    In test modes example account-test then i see the admin message ofcourse in admin, but also on the catalog side, and not what the customers should see
     
    screen http://i.imgur.com/kTmBgUD.png
  15. Like
    Fiber got a reaction from raiwa in Store Mode BS   
    Correction of the above 
    After making modules inactive and remove in admin and reinstall again all was well, but a question. in modules/content see the screenshot, the module is installed and active 
     
     
    Great addon thnx

  16. Like
    Fiber reacted to raiwa in Store Mode BS   
    Store Mode BS
     
    Complete recoded Add-On, 100% modularized, not any file changes.

    Inspired by:
    Store Mode (Open | Closed | Maintenance)
    and:
    Site Maintenance Status - All versions
    Maintenance page based on the page included there. Thanks to @@Demitry    


    Installation: Upload new files and install one ht module and one content header module.


    How it works

    This add-on allows to switch your store to different closed/maintenance modes. It allows you to do installations, maintenance and checks, closing only the strict necessary areas of your store.

    Store modes:
    Online:
    Normal store mode
    Custom:
    Customizable group of pages. Default: product_reviews.php and product_reviews_write.php.
    Any group of pages can be defined. Customers will be redirected to the last visited page outside the restricted area or index.php.
    A  temporary message will be shown only if a customer tries to access the restircted area.
    Checkout:
    By default all checkout pages are included in this group. Customers will be redirected to the last visited page outside the restricted area or shopping_cart.php.
    A  permanent message will be shown on the shopping cart page and optional on the index page. An additional temporary message shows only if a customer tries to access the restircted area.
    Account:
    By default all checkout pages and account pages are included in this group. Customers will be redirected to the last visited page outside the restricted area or index.php.
    A  permanent message will be shown on the shopping cart page and  index page. An additional temporary message shows only if a customer tries to access the restircted area.
    Logged in customers will be logged off.
    Offline:
    Customers will be redirected by .htaccess rewrite rules to a standalone 503 maintenance page.


    The store administrators IP will be entered automatically in a configuration list. Additional administrators/developpers IPs can be added.
    These IPs are excluded from redirects in all the above listed Modes.
    Test Modes for all above listed modes are available which will only redirect the IP's included in the configuration list. This can be used to check the redirects and messages.
     
     
    Please give it a try for beta tests.
    Any error reports and suggestions are very welcome.
     
     
    Thanks and kind regards
    Rainer
×