Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


puddlec last won the day on February 25

puddlec had the most liked content!


Profile Information

  • Real Name
  • Gender
  • Location

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. puddlec

    Index Carousel add on

    this is what i got if ($banner['banners_image'] !== '') { //$wrapper_slides .= tep_image(DIR_WS_IMAGES . $banner['banners_image'], $banner['banners_html_text']); $wrapper_slides .= tep_image('images/' . $banner['banners_image'], '', 800, 400); $wrapper_slides .= '<div class="carousel-caption"> </div>'; } else { //$wrapper_slides .= tep_image(DIR_WS_IMAGES . 'pixel_silver.gif', 'alt', 544, 172 ); $wrapper_slides .= '<img class="img-responsive" alt="544x172" src="images/' . $background . '" />'; $wrapper_slides .= '<div class="carousel-caption">' . $banner['banners_html_text'] . '</div>'; } also make sure that the Banner Rotator Group setting in the module which by default is rotator is assigned to the banner in banner manager, (if it is not in the drop down you would need to add it in the text box below
  2. puddlec

    Index Carousel add on

    in catalog\includes\modules\content\index\cm_i_carousel.php change class cm_carousel { to class cm_i_carousel { edit: just noticed line 92 is also incorrect change to $wrapper_slides .= tep_image('images/' . $banner['banners_image'], '', 800, 400);
  3. puddlec

    Log Off Button

    you would need to add the account module for navbar modules and/or the account block for footer with content modules and/or buttons for header
  4. puddlec

    Hack attempt - is there a way to prevent this?

    how would it handle stuff like &lt;script src=&quot;google.com&quot;&gt; and &#x3c;&#x73;&#x63;&#x72;&#x69;&#x70;&#x74;&#x20;&#x73;&#x72;&#x63;&#x3d;&#x22;&#x67;&#x6f;&#x6f;&#x67;&#x6c;&#x65;&#x2e;&#x63;&#x6f;&#x6d;&#x22;&#x3e;
  5. puddlec

    Complete Left panel not showing on the admin panel

    check your admin/includes/configure.php file and make sure your file paths are correct
  6. as previously mentioned with CE Bootstrap, you can easily make your own template, it is just a case of moving some of the modules around, then using some css to change the colours below is some css changes that i made to the breadcrumb to change the look. so similar changes can be made to any other part of the website
  7. puddlec

    modal info popup

    something i did in the pas was to use something like modal-<?php echo POPUP_MODAL_WIDTH; ?> which i could change in the admin to make it bigger/smaller
  8. puddlec

    modal info popup

    @JcMagpie what is your opinion on the size of the modal popup. i managed to change it either by adding modal-lg (which makes it 900px wide instead of 600px) after modal-dialog or by adding modal-custom then adding at the bottom of the script <style> .modal-custom { width:80%; } </style>
  9. puddlec

    modal info popup

    these are the changes that i have made includes/modules/content/footer/cm_footer_popup.php change line 63 to include('includes/modules/content/' . $this->group . '/templates/popup.php'); includes/modules/content/footer/templates/popup.php change whole file to <?php if (!tep_session_is_registered('popup')) { ?> <div class="modal fade" id="popupModal"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> </div> <div class="modal-body"> <center><h5><?php echo $popup_string; ?></h5></center> </div> <div class="modal-footer"> <button type="button" class="btn btn-default pull-right" data-dismiss="modal"> <?php echo IMAGE_BUTTON_CONTINUE;?> <span class="glyphicon glyphicon-chevron-right"></span></button> </div> </div> </div> </div> <?php tep_session_register('popup'); $oscTemplate->addBlock("<script> $(window).on('load',function(){ $('#popupModal').modal('show'); }); </script>", 'footer_scripts'); } ?> putting the java script in the add block allows it to be added to where it is needed remember that it will only show once per session, so on each test i cleared my cookie for my test site to get it to appear again
  10. puddlec

    modal info popup

    also had to change to javascript to <script type="text/javascript"> $(window).on('load',function(){ $('#popupModal').modal('show'); }); </script> for bs3
  11. puddlec

    modal info popup

    had a quick play myself, and got it to work by moving the java script part to the bottom of template bottom. would it be easier to make to convert it to a header tag module, unless you can get the java script code to go below the bootstrap java script? also is their any point in checking that it is being loaded on a https connection
  12. puddlec

    Internal Link In html Pop-Up

    What about using https://apps.oscommerce.com/y0rDZ&related-products-bs Goes on the product page and basket page Customers would be able to see the name, image, description, price (if enabled)
  13. puddlec

    Where to start for newbie

    missing content some of it can be added by going to admin -> modules -> boxes and admin -> modules -> content with the carousal at the top, Burt did release something similar as part of his 28d 2019 https://forums.oscommerce.com/topic/492997-28d-2019-lets-move-the-project-forward/?page=2, can't rememeber f he did release the one on the site.
  14. puddlec

    Where to start for newbie

    the version with bootstrap 4 can be download from https://github.com/gburton/Responsive-osCommerce keep in mind it is still a work in progress, it is easy enough to follow the progress, and add-in anything that gets changed in the future
  15. can't see a problem myself if the add-on is completely within the admin (no files touch the catalogue side) you could just update the add on one folder for normal admin and one for this admin (just like i think you do for bs3 and bs4) in regards to easy populate i am not stopping you from doing your own version (could even compare notes afterwords, and combine what you did and what i did)