Jump to content

piernas

Members
  • Content count

    657
  • Joined

  • Last visited

  • Days Won

    16

Reputation Activity

  1. Like
    piernas got a reaction from azpro in [Addon] Horizontal CSS menu for admin 2.3.4 and BS   
    This module installs an horizontal CSS menu for the admin side.
    It also disables the standard stock left menu and adds the correct descriptive title to the page, so you can find the tab you're searching for in your browser.

    I made this menu because we use tablets for preparing orders on a daily basis, and even cell phones when we are out of the warehouse, and we have to continuously zoom in/out because the screen does not fit well. Now without the side menu there's a lot more room for small screen devices.

    Tested on 2.3.4 responsive but should work with standard version.
     
    Link: http://addons.oscommerce.com/info/9463
  2. Like
    piernas got a reaction from auzStar in [Addon] Content modules improved admin page   
    I took some time to practice with modules and made this time-saver when configuring content modules:
     
    http://addons.oscommerce.com/info/9458
     
    IMPROVED CONTENT MODULES ADMIN FOR 2.3.4 RESPONSIVE
    ===================================================

    This is a direct replacement for modules_content.php.

    - Each module group has his own tab, so no more inspecting huge lists in search of a content module.
    - You can see both installed and uninstalled modules in one group at once.
    - You can see module descriptions without clicking on each one.
    - You can check fast if a module is enabled or not without accessing his configuration.
    - You can enable or disable modules directly if the module has the appropiate methods (see below).

    I had the intention of adding a couple of improvements, like a graphical interface to move up/down modules and graphically change its width and position on the page, but currently there's not a standard for bootstrap module width property. One module can, for example, have a "half width/full width" property while another can offer the choice of "width=6/width=12".

    Also, to enable/disable them without accessing his configuration would require the module to expose public methods like these:
     
    <?php     function isEnabled() {       return $this->enabled;     }          function enable() {             tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = 'True' where configuration_key = 'MODULE_THIS_MODULE_STATUS'");             $this->enabled = (MODULE_THIS_MODULE_STATUS == 'True');                  }     function disable() {             tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = 'False' where configuration_key = 'MODULE_THIS_MODULE_STATUS'");             $this->enabled = (MODULE_THIS_MODULE_STATUS == 'True');     } ?> If these are not present, you can easily add them to a module by changing MODULE_THIS_MODULE_STATUS for the appropiate constant.
    If you do this or the module already suplies these methods, yoou will see the enable/disable button in this module.

  3. Like
    piernas reacted to TITO4 in [Addon] Content modules improved admin page   
    I've just also installed your Horizontal CSS menu for admin 2.3.4 and BS
    Really, really great!!! I strongly recommend to everybody to install it.
     
    As you well said, very much confortable for controlling, modifying  and/or consulting your eShop in this times of smartphones and tablets.
    Gracias Juanma! You made my working life easier...  :lol:
  4. Like
    piernas got a reaction from vampirehunter in Order editor - to AJAX or not AJAX...   
    Fine, I think most people will be using that version but I want to check it.
  5. Like
    piernas got a reaction from TITO4 in [Addon] Content modules improved admin page   
    Hola Tito, it's great you found it of good use.
     
    I don't have a samle right now, but for example let's take the cm_footer_account.php.
     
    You'll find this line under function install ():
          tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable Account Footer Module', 'MODULE_CONTENT_FOOTER_ACCOUNT_STATUS', 'True', 'Do you want to enable the Account content module?', '6', '1', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())"); MODULE_CONTENT_FOOTER_ACCOUNT_STATUS is, in this case, the configuration key that stores the status of the module.
     
    So if we want the module to expose methods for enabling/disabling it you have to add these two functions in the class:
        function enable() {             tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = 'True' where configuration_key = 'MODULE_THIS_MODULE_STATUS'");             $this->enabled = (MODULE_CONTENT_FOOTER_ACCOUNT_STATUS == 'True');                  }     function disable() {             tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = 'False' where configuration_key = 'MODULE_THIS_MODULE_STATUS'");             $this->enabled = (MODULE_CONTENT_FOOTER_ACCOUNT_STATUS == 'True');     }
  6. Like
    piernas got a reaction from azpro in [Addon] Horizontal CSS menu for admin 2.3.4 and BS   
    This module installs an horizontal CSS menu for the admin side.
    It also disables the standard stock left menu and adds the correct descriptive title to the page, so you can find the tab you're searching for in your browser.

    I made this menu because we use tablets for preparing orders on a daily basis, and even cell phones when we are out of the warehouse, and we have to continuously zoom in/out because the screen does not fit well. Now without the side menu there's a lot more room for small screen devices.

    Tested on 2.3.4 responsive but should work with standard version.
     
    Link: http://addons.oscommerce.com/info/9463
  7. Like
    piernas got a reaction from TITO4 in [Addon] Content modules improved admin page   
    @@TITO4 I've just uploaded an addon that has the enable and disable methods in case you want to take a look at it: http://forums.oscommerce.com/topic/409309-addon-horizontal-css-menu-for-admin-234-and-bs/
  8. Like
    piernas got a reaction from TITO4 in [Addon] Content modules improved admin page   
    Hola Tito, it's great you found it of good use.
     
    I don't have a samle right now, but for example let's take the cm_footer_account.php.
     
    You'll find this line under function install ():
          tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable Account Footer Module', 'MODULE_CONTENT_FOOTER_ACCOUNT_STATUS', 'True', 'Do you want to enable the Account content module?', '6', '1', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())"); MODULE_CONTENT_FOOTER_ACCOUNT_STATUS is, in this case, the configuration key that stores the status of the module.
     
    So if we want the module to expose methods for enabling/disabling it you have to add these two functions in the class:
        function enable() {             tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = 'True' where configuration_key = 'MODULE_THIS_MODULE_STATUS'");             $this->enabled = (MODULE_CONTENT_FOOTER_ACCOUNT_STATUS == 'True');                  }     function disable() {             tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = 'False' where configuration_key = 'MODULE_THIS_MODULE_STATUS'");             $this->enabled = (MODULE_CONTENT_FOOTER_ACCOUNT_STATUS == 'True');     }
  9. Like
    piernas reacted to kymation in [Addon] Modular Product Page (Bootstrap)   
    Oops, yoiu're right -- that's another bug. Go ahead and add in the global. I'll fix the master and upload a new version.
     
    Regards
    Jim
  10. Like
    piernas got a reaction from auzStar in [Addon] Content modules improved admin page   
    I took some time to practice with modules and made this time-saver when configuring content modules:
     
    http://addons.oscommerce.com/info/9458
     
    IMPROVED CONTENT MODULES ADMIN FOR 2.3.4 RESPONSIVE
    ===================================================

    This is a direct replacement for modules_content.php.

    - Each module group has his own tab, so no more inspecting huge lists in search of a content module.
    - You can see both installed and uninstalled modules in one group at once.
    - You can see module descriptions without clicking on each one.
    - You can check fast if a module is enabled or not without accessing his configuration.
    - You can enable or disable modules directly if the module has the appropiate methods (see below).

    I had the intention of adding a couple of improvements, like a graphical interface to move up/down modules and graphically change its width and position on the page, but currently there's not a standard for bootstrap module width property. One module can, for example, have a "half width/full width" property while another can offer the choice of "width=6/width=12".

    Also, to enable/disable them without accessing his configuration would require the module to expose public methods like these:
     
    <?php     function isEnabled() {       return $this->enabled;     }          function enable() {             tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = 'True' where configuration_key = 'MODULE_THIS_MODULE_STATUS'");             $this->enabled = (MODULE_THIS_MODULE_STATUS == 'True');                  }     function disable() {             tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = 'False' where configuration_key = 'MODULE_THIS_MODULE_STATUS'");             $this->enabled = (MODULE_THIS_MODULE_STATUS == 'True');     } ?> If these are not present, you can easily add them to a module by changing MODULE_THIS_MODULE_STATUS for the appropiate constant.
    If you do this or the module already suplies these methods, yoou will see the enable/disable button in this module.

  11. Like
    piernas got a reaction from auzStar in [Addon] Content modules improved admin page   
    I took some time to practice with modules and made this time-saver when configuring content modules:
     
    http://addons.oscommerce.com/info/9458
     
    IMPROVED CONTENT MODULES ADMIN FOR 2.3.4 RESPONSIVE
    ===================================================

    This is a direct replacement for modules_content.php.

    - Each module group has his own tab, so no more inspecting huge lists in search of a content module.
    - You can see both installed and uninstalled modules in one group at once.
    - You can see module descriptions without clicking on each one.
    - You can check fast if a module is enabled or not without accessing his configuration.
    - You can enable or disable modules directly if the module has the appropiate methods (see below).

    I had the intention of adding a couple of improvements, like a graphical interface to move up/down modules and graphically change its width and position on the page, but currently there's not a standard for bootstrap module width property. One module can, for example, have a "half width/full width" property while another can offer the choice of "width=6/width=12".

    Also, to enable/disable them without accessing his configuration would require the module to expose public methods like these:
     
    <?php     function isEnabled() {       return $this->enabled;     }          function enable() {             tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = 'True' where configuration_key = 'MODULE_THIS_MODULE_STATUS'");             $this->enabled = (MODULE_THIS_MODULE_STATUS == 'True');                  }     function disable() {             tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = 'False' where configuration_key = 'MODULE_THIS_MODULE_STATUS'");             $this->enabled = (MODULE_THIS_MODULE_STATUS == 'True');     } ?> If these are not present, you can easily add them to a module by changing MODULE_THIS_MODULE_STATUS for the appropiate constant.
    If you do this or the module already suplies these methods, yoou will see the enable/disable button in this module.

  12. Like
    piernas got a reaction from auzStar in [Addon] Content modules improved admin page   
    I took some time to practice with modules and made this time-saver when configuring content modules:
     
    http://addons.oscommerce.com/info/9458
     
    IMPROVED CONTENT MODULES ADMIN FOR 2.3.4 RESPONSIVE
    ===================================================

    This is a direct replacement for modules_content.php.

    - Each module group has his own tab, so no more inspecting huge lists in search of a content module.
    - You can see both installed and uninstalled modules in one group at once.
    - You can see module descriptions without clicking on each one.
    - You can check fast if a module is enabled or not without accessing his configuration.
    - You can enable or disable modules directly if the module has the appropiate methods (see below).

    I had the intention of adding a couple of improvements, like a graphical interface to move up/down modules and graphically change its width and position on the page, but currently there's not a standard for bootstrap module width property. One module can, for example, have a "half width/full width" property while another can offer the choice of "width=6/width=12".

    Also, to enable/disable them without accessing his configuration would require the module to expose public methods like these:
     
    <?php     function isEnabled() {       return $this->enabled;     }          function enable() {             tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = 'True' where configuration_key = 'MODULE_THIS_MODULE_STATUS'");             $this->enabled = (MODULE_THIS_MODULE_STATUS == 'True');                  }     function disable() {             tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = 'False' where configuration_key = 'MODULE_THIS_MODULE_STATUS'");             $this->enabled = (MODULE_THIS_MODULE_STATUS == 'True');     } ?> If these are not present, you can easily add them to a module by changing MODULE_THIS_MODULE_STATUS for the appropiate constant.
    If you do this or the module already suplies these methods, yoou will see the enable/disable button in this module.

  13. Like
    piernas got a reaction from auzStar in [Addon] Content modules improved admin page   
    I took some time to practice with modules and made this time-saver when configuring content modules:
     
    http://addons.oscommerce.com/info/9458
     
    IMPROVED CONTENT MODULES ADMIN FOR 2.3.4 RESPONSIVE
    ===================================================

    This is a direct replacement for modules_content.php.

    - Each module group has his own tab, so no more inspecting huge lists in search of a content module.
    - You can see both installed and uninstalled modules in one group at once.
    - You can see module descriptions without clicking on each one.
    - You can check fast if a module is enabled or not without accessing his configuration.
    - You can enable or disable modules directly if the module has the appropiate methods (see below).

    I had the intention of adding a couple of improvements, like a graphical interface to move up/down modules and graphically change its width and position on the page, but currently there's not a standard for bootstrap module width property. One module can, for example, have a "half width/full width" property while another can offer the choice of "width=6/width=12".

    Also, to enable/disable them without accessing his configuration would require the module to expose public methods like these:
     
    <?php     function isEnabled() {       return $this->enabled;     }          function enable() {             tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = 'True' where configuration_key = 'MODULE_THIS_MODULE_STATUS'");             $this->enabled = (MODULE_THIS_MODULE_STATUS == 'True');                  }     function disable() {             tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = 'False' where configuration_key = 'MODULE_THIS_MODULE_STATUS'");             $this->enabled = (MODULE_THIS_MODULE_STATUS == 'True');     } ?> If these are not present, you can easily add them to a module by changing MODULE_THIS_MODULE_STATUS for the appropiate constant.
    If you do this or the module already suplies these methods, yoou will see the enable/disable button in this module.

  14. Like
    piernas got a reaction from auzStar in [Addon] Content modules improved admin page   
    I took some time to practice with modules and made this time-saver when configuring content modules:
     
    http://addons.oscommerce.com/info/9458
     
    IMPROVED CONTENT MODULES ADMIN FOR 2.3.4 RESPONSIVE
    ===================================================

    This is a direct replacement for modules_content.php.

    - Each module group has his own tab, so no more inspecting huge lists in search of a content module.
    - You can see both installed and uninstalled modules in one group at once.
    - You can see module descriptions without clicking on each one.
    - You can check fast if a module is enabled or not without accessing his configuration.
    - You can enable or disable modules directly if the module has the appropiate methods (see below).

    I had the intention of adding a couple of improvements, like a graphical interface to move up/down modules and graphically change its width and position on the page, but currently there's not a standard for bootstrap module width property. One module can, for example, have a "half width/full width" property while another can offer the choice of "width=6/width=12".

    Also, to enable/disable them without accessing his configuration would require the module to expose public methods like these:
     
    <?php     function isEnabled() {       return $this->enabled;     }          function enable() {             tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = 'True' where configuration_key = 'MODULE_THIS_MODULE_STATUS'");             $this->enabled = (MODULE_THIS_MODULE_STATUS == 'True');                  }     function disable() {             tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = 'False' where configuration_key = 'MODULE_THIS_MODULE_STATUS'");             $this->enabled = (MODULE_THIS_MODULE_STATUS == 'True');     } ?> If these are not present, you can easily add them to a module by changing MODULE_THIS_MODULE_STATUS for the appropiate constant.
    If you do this or the module already suplies these methods, yoou will see the enable/disable button in this module.

  15. Like
    piernas reacted to clustersolutions in ULTIMATE Seo Urls 5 - by FWR Media   
    @@piernas...I'll LUK when I have a chance to go over what you are trying to do...
  16. Like
    piernas reacted to clustersolutions in ULTIMATE Seo Urls 5 - by FWR Media   
    @@piernas, looks fine to me...may be your reset the cache? I bet you the problem won't come back...I hope...
     
    U may want to remove the index.php at / page...or redirect the index.php index.html to /...I thought there was a setting in USU5 for that...
  17. Like
    piernas reacted to clustersolutions in FWR's USU5 For BS   
    I have started a git repository for FWR's USU5 for BS. So far I have added a page for BS integration and it was tested on Edge. I am working on getting the MySQL cache bug fix for the next commit. Please feel free to download and use.
     
    https://github.com/clustersolutions/Ultimate_Seo_Urls_5_PRO_BS
     
    FYI, I used USU5 for BS with these SEO addons and they worked fine: Burt's header tag reloaded. JackMC's sitemap, All Products, and google xml sitemap...
     
  18. Like
    piernas reacted to kymation in Help with addon for migrating data and max_execution_time   
    You could load it in sections. Maybe check a timer, or just load a fixed number of rows, then reload the page. Pass the last row loaded as a parameter when you reload so the next one knows where to start.
     
    Or you could use mysqldumper since it already does that. It's a nice, open-source database backup and copy tool. i use it for the same thing you're doing on sites with over 50,000 products, and it handles the database size easily.
     
    Regards
    Jim
×