Jump to content

PupStar

Members
  • Content count

    896
  • Joined

  • Last visited

  • Days Won

    10

Reputation Activity

  1. Like
    PupStar got a reaction from ArtcoInc in Navbar button shown in small view - how to?   
    @@piernas
     
    I have solved the issue of the link/button not showing, half of the __construct function was missing :thumbsup:
    function __construct() { $this->title = MODULE_NAVBAR_EXTRA_SPARE_PARTS_TITLE; $this->description = MODULE_NAVBAR_EXTRA_SPARE_PARTS_DESCRIPTION; if ( defined('MODULE_NAVBAR_EXTRA_SPARE_PARTS_STATUS') ) { $this->sort_order = MODULE_NAVBAR_EXTRA_SPARE_PARTS_SORT_ORDER; $this->enabled = (MODULE_NAVBAR_EXTRA_SPARE_PARTS_STATUS == 'True'); } }
  2. Like
    PupStar reacted to piernas in Navbar button shown in small view - how to?   
    @@PupStar I'll try it on a clean install as soon as I can do it, this week is busy when you have a store :)
  3. Like
    PupStar got a reaction from Dan Cole in Hide Categories & Products in Bootstrap Edge   
    @@Dan Cole
     
    More of a Ronald Weasley than a Harry Potter mate lol
  4. Like
    PupStar got a reaction from frankl in Hide Categories & Products in Bootstrap Edge   
    I have added this addon http://addons.oscommerce.com/info/5907 to give me the ability to hide categories from certain parts of the store
     
    I am struggling with integrating this with products_new.php and also the manufacturers box.
     
    Can anyone point me in the right direction of which category query to add 'and categories_status = 1' to as I have tried the ones I can find but with no change.
     
    I am now think I need to add an extra query or am I over thinking ?
     
    Thanks
     
    Mark
  5. Like
    PupStar reacted to frankl in Year Make Model for Bootstrap Edge   
    Also, I agree with getting rid of the go button.
     
    Oh, and it will look much better if you change ymm.php from
    <div class="panel panel-default"> <div class="panel-heading"><?php echo MODULE_BOXES_YEAR_MAKE_MODEL_TITLE; ?></div> <?php echo $data; ?> </div> to
    <div class="panel panel-default"> <div class="panel-heading"><?php echo MODULE_BOXES_YEAR_MAKE_MODEL_TITLE; ?></div> <div class="panel-body"> <?php echo $data; ?> </div> </div> Adds panel-body style
  6. Like
    PupStar reacted to frankl in Year Make Model for Bootstrap Edge   
    I think you will need to add some styling to the dropdowns in ymmajax.php?
  7. Like
    PupStar reacted to frankl in Year Make Model for Bootstrap Edge   
    @@PupStar
     
    I would like to know how to make the changes to admin/categories.php and index.php without touching core code. Is that even possible @@burt?
  8. Like
    PupStar reacted to bruyndoncx in Header Tags Modules   
    one thumbs up for the one posting the question about the big pink elephant in the code
  9. Like
    PupStar got a reaction from bruyndoncx in Header Tags Modules   
    I am not sure if this has already been discussed in its own thread (not that I can find one) or if covered in more detail in an already existing topic.
     
    Please would someone more informed than me please expain the ins & outs of header tags modules i.e. how they work in relation to page, positioning etc.
     
    This would be helpful to those of us who do not already know or understand how they work.
     
    Thanks
     
    Mark
     
     
  10. Like
    PupStar reacted to burt in Header Tags Modules   
    HT is used to "inject" data that does not usually (see caveat below) show up on a users screen.
     
    Note that although the name of the system is Header Tags, they can actually be loaded into the Footer of the site as well as the Header.
     
    Typical Examples:
    .js for datepicker
    .js for popup image
    opengraph data
    twitter cards
     
    All of these add data that is unseen by human, but is used by machine.  Does it make sense ?
     
    Caveat:
    It is possible to manipulate HTML using .js.  
    Typical example is the addon I posted up yesterday which turns off the buy now button.
     
    I would say that 99% of the use of a HT module is to do with injecting needed data into a page for machines to use, and by machine I mean the users end device (eg .js for popup image) or google/facebook (eg opengraph).
  11. 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
  12. 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
  13. 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
  14. 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
  15. Like
    PupStar got a reaction from vampirehunter in Bootstrap 3 in 2.3.4 - Responsive from the Get Go   
    tells you here bud
     
    http://addons.oscommerce.com/info/8864
  16. Like
    PupStar reacted to bruyndoncx in Bootstrap Home Page Carousel Banner Slider Module Plugin Complete - Testing Welcome   
    Google this
    best practice sliders carousel for mobile
     
    Find this
    http://baymard.com/blog/homepage-carousel
     
    and find this
    http://shouldiuseacarousel.com/
  17. 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.

  18. Like
    PupStar reacted to greasemonkey in Oscommerce Affiliate Module - for BS   
    Hey all, I have been work on modernizing the Affiliate Module for 2.3.1 for 2.3.4 BS found here; http://addons.oscommerce.com/info/9171
     
    For those that know me.... I'm not a programmer, but have learned enough to be dangerous.... so feel free to make comments and suggestions.
     
    Because this addon uses its own (affiliate)_application_top's there are not a huge ton of core changes - however I should be able to get this down to just 2 code adds to call the new affiliate_application_top in admin and catalog.
     
    So far I have;
     
    1) almost all catalog pages bootstraped.
    2) moved the build a link button from product_info into a _pi_ content module
    3) I've added all the sql to the new _pi_ content module
    4) bootstrapped the box module
    5) fixed some basic "math" issues in the affiliate summary
     
    Can someone suggest best practices for when when creating new tables on a module install?
     
    Currently I have (as an example);
    tep_db_query("CREATE TABLE IF NOT EXISTS affiliate_banners ( affiliate_banners_id int(11) NOT NULL AUTO_INCREMENT, affiliate_banners_title varchar(64) NOT NULL DEFAULT '', affiliate_products_id int(11) NOT NULL DEFAULT '0', affiliate_category_id int(11) NOT NULL DEFAULT '0', affiliate_banners_image varchar(64) NOT NULL DEFAULT '', affiliate_date_added datetime NOT NULL DEFAULT '0000-00-00 00:00:00', affiliate_date_status_change datetime DEFAULT NULL, affiliate_status int(1) NOT NULL DEFAULT '1', PRIMARY KEY (affiliate_banners_id) ) COLLATE='utf8_unicode_ci'"); I am NOT dropping these new tables on "remove" (un-installtion) to prevent loss of affiliate data. Is this a wise idea?
  19. Like
    PupStar got a reaction from Tsimi in Adding a left border to body content in responsive version   
    thanks to Malcolm @Artcolnc for this
    @[member=media] (min-width: 992px) { #bodyWrapper { overflow-y: hidden; } } #columnLeft {border: 1px solid #dedede; padding-bottom: 9999px; margin-bottom: -9999px;}
  20. 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
  21. Like
    PupStar reacted to bruyndoncx in Has anyone got SEO URLs or Header Tags contributions working with BS 2.3.4?   
    bootsstrap is like the body work of a car, the engine is still 2.3.4
    so all the properly coded functional 2.3.4 contributions are compatible,
    only sometimes you have to change the html a little to the bootstrap equivalent syntax,
    This is very easy, little bits of html to change in your php pages.
  22. Like
    PupStar got a reaction from burt in Adding extras to Navbar   
    @@burt
     
    now I see that a different way
     
    I click "A" button, the 'A' content opens.
    I click "B" button, the "A" content closes and the "B" content opens.
     
    personal taste I suppose
     
    back to google for the .js :-
  23. Like
    PupStar reacted to Bob Terveuren in Possible Bootstrap & AJAX conflict   
    Hi - likely to be an extra closing tag or maybe an unclosed opening tag - (needle in a haystack time).
     
    The problem may also in the original page and is only visible after the extra HTML is added - if you grab the HTML for both pages you could identify the extra code added for the second dropdown and see what that shows.
     
    If you see nothing then you could try the W3C validator - that is a can of worms as it will report things that aren't really wrong - e.g. on yours double opening <body> tags but that's only because it sees the <noscript> in the <head> and tells itself that there's an opening <body> there too.
     
    Try checking the <form> and get it into a single <div> - there's something hooky with the <div></divs> around that point in the page so maybe start there.
     
    You can also try something like http://www.aliciaramirez.com/closing-tags-checker/
     
    Good luck Mr Bond - it's the type of job I hate......
  24. Like
    PupStar got a reaction from bruyndoncx in Bootstrap Tables   
    @@bruyndoncx
     
    reading does help lol
     
    Thanks that got it :-
  25. Like
    PupStar reacted to bruyndoncx in Bootstrap Tables   
    now read my instructions and then it does align properly, now just created a table mess
×