Jump to content

PupStar

Members
  • Content count

    897
  • Joined

  • Last visited

  • Days Won

    10

Reputation Activity

  1. Like
    PupStar got a reaction from auzStar in [Addon] Ajax Product Listing for osC 2.3.4 bootstrap   
    yes to the above.
     
    I found that changing
    left: 50%; to
    left: 38%; solved the centralising issue
  2. Like
    PupStar reacted to auzStar in [Addon] Ajax Product Listing for osC 2.3.4 bootstrap   
    @@PupStar
     
    Thanks Mark, the bootstrap one's work great.
     
    There are a few to choose from, I went with:
    bodyContent_listing.html(\'<div class="text-center"><i style="margin-top: 150px;" class="fa fa-spinner fa-pulse fa-5x fa-fw"></i></div>\'); since it was similar to original.
     
    But I am also toying with this variation:
    bodyContent_listing.html(\'<div class="text-center" style="position: fixed; top: 50%; left: 50%; ; margin-top: -50px; z-index:1000; width: 100px; height: 100px;"><i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i></div>\'); because I discovered if you use the page navigation at the bottom of the listing you don't see the animation (it's worse in mobile view), but with this version the animation is always kept in the center of view. What do you think?
     
    cheers
  3. Like
    PupStar got a reaction from auzStar in [Addon] Ajax Product Listing for osC 2.3.4 bootstrap   
    @@auzStar
     
    May I suggest that the animated loading gif be replaced with an animated icon to keep in with the bootstrap theme
    bodyContent_listing.html(\'<div class="text-center"><span class="fa fa-cog fa-spin fa-4x fa-fw"></span></div>\'); Mark
  4. Like
    PupStar reacted to auzStar in [Addon] Ajax Product Listing for osC 2.3.4 bootstrap   
    Thanks for the tip Mark. I'll have a look at it.
     
    cheers
  5. Like
    PupStar reacted to piernas 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.

  6. Like
    PupStar got a reaction from Tsimi in Printer Ink & Toner Filter   
    @@Tsimi
     
    I have reverted back to the original addon queries and added the extra fields back in and its now working and sorting correctly. (w00t)
     
    I will now finish Bootstrapping the table and hopefully not break it again lol
  7. Like
    PupStar got a reaction from wolfapache in Information Pages Unlimited v1.0   
    its because you do not have the 'ckeditor' installed.
     
    Install this http://addons.oscommerce.com/info/7650
     
    and all should be ok.
     
    Mark
  8. Like
    PupStar got a reaction from scastro in Easy Populate & Products Attributes   
    whats wrong with using http://addons.oscommerce.com/info/7725 ???
     
    Mark
  9. Like
    PupStar got a reaction from nx7t in Master Products - MS2   
    Hi,
     
    I am in a same situation as Ronald who required the fix below however my need is slightly different ;)
     
    I have done the steps below and all good so far apart from I have an extra rule that needs applying. I have a field in the database called 'products_restricted_status', if this is set to 1 then the product will not be allowed for sale and if it is set to 0 it can be purchased.
     
    I added to the line in product_info.php
     

    if ($master_check['products_master_status'] > 0 || $master_check['products_master'] == 0 || $master_check['products_restricted_status'] = 0) {
     
    But this still does not allow the product to be added to the cart.
     
    Any ideas on how to sort this? Do I need to change the 'add_slave' code in application_top????
     
    Thanks
     
    Mark
     
×