Page 87 of 92 FirstFirst ... 37778586878889 ... LastLast
Results 861 to 870 of 920
  1. #861
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    11,406
    Plugin Contributions
    80

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by ianhg View Post
    Thank you for this I realised that I had missed adding the header_php_specials_zca_bootstrap.php to Pages/specials.. feel a bit stupid now.. many thanks
    Appreciate the update; it's always the little bits that bite you in the ar*e.

  2. #862
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    11,406
    Plugin Contributions
    80

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by swguy View Post
    Small bug in version 3.4.0 of the bootstrap template:
    includes/modules/sideboxes/bootstrap/information.php
    references FILENAME_ABOUT_US and FILENAME_BRANDS for checks as to whether to add these links to the sidebox; should follow the 1.5.8 release standard of checking the flags $flag_show_about_us_sidebox_link and $flag_show_brand_sidebox_link instead.
    That's something to be done when the template no longer supports zc157!

  3. #863
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    8,973
    Plugin Contributions
    119

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Or you could base the check on zen_get_zcversion().

    if (function_exists('zen_get_zcversion') && zen_get_zcversion() >= '1.5.8') {
    check flags
    } else {
    check defines
    }
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #864
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    11,406
    Plugin Contributions
    80

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    I'll most likely simply repeat the code present in the zc158 /includes/init_includes/init_common_elements.php, with a note that the processing can be removed once support for zc157 is dropped.

  5. #865
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    11,406
    Plugin Contributions
    80

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by swguy View Post
    File includes/templates/bootstrap/jscript/jscript_zca_bootstrap.js

    starts with

    $('a.imageModal').on('click', function() {

    might need to be wrapped in

    if ($('a.imageModal')) {

    without this you can get

    Uncaught TypeError: $(...) is null

    if the page has no images.
    Could you identify an example, preferably using the demo products, of a page that has no images?

  6. #866
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    8,973
    Plugin Contributions
    119

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    A non product page like contact_us.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #867
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    11,406
    Plugin Contributions
    80

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by swguy View Post
    A non product page like contact_us.
    Tried the login page, which disables the left/right sideboxes. I'll note that there's an image in the footer banner, as well as the site's header image, but I'm not seeing any console logs.

  8. #868
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    8,973
    Plugin Contributions
    119

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    This might have been some oddball page where they turned off header/footer/sideboxes so it could easily be printed - I can't remember. No worries if it's hard to repro; could be just an edge case that only applies to a few sites.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  9. #869
    Join Date
    Jan 2010
    Location
    France
    Posts
    272
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Hello, I can't turn off the search box on the sideboxes when the Box: search_header.php is active. Indeed I have two search boxes, one on the header and one on the right/left box. And if I disable Box: search_header.php and I use Box: search.php I have no search box when I am in tablet mode.
    Do you have an idea of how to disable the search box on the sideboxes while keeping the header on, or where to use the search.php box and have a search box on the tablet?

    Thanks in advance
    Giovanni,
    Zen Cart V1.5.8 + templates ZCA Bootstrap Template

  10. #870
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    8,697
    Plugin Contributions
    9

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    @diamond1,

    What I do is to turn off both the sideboxes/YOUR_TEMPLATE search_header.php and the sideboxes/search.php in the Layout Boxes Controller. NOTE: the YOUR_TEMPLATE will be bootstrap unless you have done as I did and cloned the bootstrap template.

    After turning those two off, I go to Admin >> Bootstrap Template Settings and set Enable AJAX Search? to True.

 

 
Page 87 of 92 FirstFirst ... 37778586878889 ... LastLast

Similar Threads

  1. v155 Clone a Template [Support Thread]
    By lat9 in forum Addon Admin Tools
    Replies: 79
    Last Post: 5 Jul 2021, 07:30 PM
  2. v150 aBagon Template Support Thread
    By VJef in forum Addon Templates
    Replies: 54
    Last Post: 5 Sep 2020, 08:44 PM
  3. v155 ZCA Bootstrap Template 1.0 (BETA)
    By rbarbour in forum Addon Templates
    Replies: 74
    Last Post: 25 Apr 2018, 07:05 PM
  4. TB Sempre Template Support Thread
    By brandonturpin in forum Addon Templates
    Replies: 48
    Last Post: 19 Mar 2015, 06:33 PM
  5. Wallet Template - Support Thread
    By zami in forum Addon Templates
    Replies: 45
    Last Post: 25 Mar 2010, 10:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR