Page 89 of 123 FirstFirst ... 3979878889909199 ... LastLast
Results 881 to 890 of 1223
  1. #881
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,400
    Plugin Contributions
    87

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Did you also go to Admin >> Bootstrap Template Settings and set Enable AJAX Search? to True?

  2. #882
    Join Date
    Jan 2010
    Location
    France
    Posts
    279
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    By activating Enable AJAX Search I have instead of 2 boxes 2 search icons, I want a single icon or search box either in the header or in a column. Why when I activate sideboxes/bootstrap/search_header.php I have two search icon boxes and not just one?

    Name:  Capture d’écran 2022-11-27 à 17.17.55.jpg
Views: 226
Size:  19.0 KB
    Giovanni,
    Zen Cart V1.5.8 + templates ZCA Bootstrap Template

  3. #883
    Join Date
    Jan 2010
    Posts
    48
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    I believe that the observed behavior of the search_header is a possible bug in 1.5.8. The gating logic can be found in line 20 of includes/modules/sideboxes/bootstrap/search_header.php:
    Code:
          WHERE (layout_box_status = 1 OR layout_box_status_single = 1)
    If layout_box_status is 1, then the search box is displayed in BOTH the header and a column. To display in only the header, layout_box_status must be 0 and layout_box_status_single must be 1.
    The 1.5.8 Layout Boxes Controller doesn't control layout_box_status_single by default. I couldn't find any way to override this default behavior. It is controlled by the $include_single_column_settings variable in admin/layout_controller.php. This variable depends on the value of $available_templates[$selected_template]['uses_single_column_layout_settings'] which appears to never be set. The place that I expected this to be set (includes/functions/functions_templates.php) does not set this.
    The search_header sidebox appears to be the only sidebox that uses layout_box_status_single. The only workaround that I can think of is to manually manipulate this value in the database such as using phpMyAdmin or constructing the appropriate SQL.

  4. #884
    Join Date
    Jan 2010
    Location
    France
    Posts
    279
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    With the Lat9 update everything works now,
    Giovanni,
    Zen Cart V1.5.8 + templates ZCA Bootstrap Template

  5. #885
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,400
    Plugin Contributions
    87

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by diamond1 View Post
    With the Lat9 update everything works now,
    Thanks for the update, @diamond1. That change is currently 'booked' for the next Zen Cart release.

  6. #886
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,400
    Plugin Contributions
    87

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    The ZCA Bootstrap 4 template, v4.3.1, is now available for download (https://www.zen-cart.com/downloads.php?do=file&id=2191):

    This release contains changes associated with the following GitHub issues:

    #152: Main page's define-page shows on top-level categories' listings.
    #153: Use isset instead of ?? for null-coalesce type comparisons as zc157 supports PHP 5.6.
    #154: Information sidebox, enabling quick overrides for about-us/brands inclusion (zc158).
    #156: Correct product-page display when both onetime charge and price-by-attributes apply.
    #158: PHP 8.2+: Address "dynamic properties" in zca_split_page_results.php class.
    #161: Correct PHP warning when product has quantity discounts.
    #162: zc158: Enable single-column layout settings to be used.

  7. #887
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,106
    Plugin Contributions
    11

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Placed this on GitHub but wanted to put it here for those not on GitHub.

    Bootstrap 4.3.1 latest version (tried both plain load and our clone)
    Zen Cart 158
    PHP 7.4 thru 8.1 (no difference with any PHP)
    Error does not occur with plain Responsive_Classic


    Created Category "DVD"


    Restricted Category to Document General and saved without subdirectories


    Added Document - General item "DVD"


    DVD is now displayed in the Documents sidebox on the main page.


    Clicking on "DVD" in the Documents sidebox throws a warning.


    Code:
    [29-Nov-2022 13:11:39 America/Denver] Request URI: /index.php?main_page=document_product_info&cPath=301&products_id=642, IP address: 225.225.225.225, Language id 1
    #1 require(/includes/templates/boot_horn/templates/tpl_document_product_info_display.php) called at [/includes/modules/pages/document_product_info/main_template_vars.php:153]
    #2 require(/includes/modules/pages/document_product_info/main_template_vars.php) called at [/includes/templates/boot_horn/common/tpl_main_page.php:202]
    #3 require(/includes/templates/boot_horn/common/tpl_main_page.php) called at [/index.php:94]
    --> PHP Warning: Undefined variable $one_time in /includes/templates/boot_horn/templates/tpl_document_product_info_display.php on line 241.
    Last edited by dbltoe; 29 Nov 2022 at 10:19 PM.

  8. #888
    Join Date
    Jul 2007
    Posts
    342
    Plugin Contributions
    7

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    I have Zen cart 1.5.8 running Bootstrap - Left column set to 3 Center Column set to 9 right column set to 0.
    In Admin Product Listing - Columns per row set to 0
    So when you view listed products you get 4 columns but they are narrow is it possible to have 3 columns there by allowing the boxes to be wider ?
    Thanks

  9. #889
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,622
    Plugin Contributions
    123

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Look at the comment block in includes/modules/bootstrap/product_listing.php around line 182. It shows you how to do it.
    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.

  10. #890
    Join Date
    Jul 2007
    Posts
    342
    Plugin Contributions
    7

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by swguy View Post
    Look at the comment block in includes/modules/bootstrap/product_listing.php around line 182. It shows you how to do it.
    Thanks Brilliant worked a treat

 

 
Page 89 of 123 FirstFirst ... 3979878889909199 ... LastLast

Similar Threads

  1. v155 Clone a Template [Support Thread]
    By lat9 in forum Addon Admin Tools
    Replies: 94
    Last Post: 16 Mar 2024, 04:13 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