Re: ZCA Bootstrap 4 Template [Support Thread]
v3.5.0 of the template 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:
#155: Add .activeLink to active EZ-page TOC link.
#163: Correct PHP warning on various product_info templates.
#165: Display search in header only when it's enabled for single-box status.
#167: Add ARIA labels for centerboxes and common header.
#168: Remove /jscript/jquery.min.js from the distribution.
#169: Update "Bootstrap" base to v4.6.2; Font Awesome to v5.15.4.
#171: Add notification just after the <head> is rendered, enabling plugins to insert very-early scripts.
#172: Correct off_canvas_menu, it was overwriting a variable used by EZ-pages.
#178: Various refinements and refactorings.
#181: Refactoring and simplification of a product's additional images' display.
#182: Remove trailing slashes on void HTML elements, e.g. <br /> becomes <br>.
#183: Correcting button-related HTML validation; <button> cannot be a descendent of an anchor tag.
#184: Correcting HTML validation issues for 3-page checkout when the "Tax" column is not displayed.
#185: Correcting other HTML validation issues.
Re: ZCA Bootstrap 4 Template [Support Thread]
Great news! Merry Christmas, @lat9!
Re: ZCA Bootstrap 4 Template [Support Thread]
Quote:
Originally Posted by
swguy
Great news! Merry Christmas, @lat9!
Not my holiday, but I appreciate the sentiment.
Re: ZCA Bootstrap 4 Template [Support Thread]
Thanks for the updated version. In the instructions I believe there is an error in the changed files though.
line 14 of the changed and removed files for 3.5.0 : /includes/modules/bootstrap/sideboxes/search_header.php should be /includes/modules/sideboxes/bootstrap/search_header.php ?
Re: ZCA Bootstrap 4 Template [Support Thread]
When I want to switch on the sideboxes/information.php in the Layout Boxes Controller I get the following error and almost blank shop page.
PHP Fatal error: Uncaught Error: Failed opening required 'includes/templates/bootstrap/common/' (include_path='.:/opt/lampp/lib/php') in zencart-1.5.8/includes/modules/sideboxes/information.php:73
This error does not happen when I use the Responsive Classic Template. All other sideboxes also seem to work. I can not find any error in includes/modules/sideboxes/information.php line 73.
I use Bootstrap v3.5.0 and Zen Cart 1.5.8.
Does anybody have any idea, waht the error might be.
Re: ZCA Bootstrap 4 Template [Support Thread]
Quote:
Originally Posted by
todoonada
When I want to switch on the sideboxes/information.php in the Layout Boxes Controller I get the following error and almost blank shop page.
PHP Fatal error: Uncaught Error: Failed opening required 'includes/templates/bootstrap/common/' (include_path='.:/opt/lampp/lib/php') in zencart-1.5.8/includes/modules/sideboxes/information.php:73
This error does not happen when I use the Responsive Classic Template. All other sideboxes also seem to work. I can not find any error in includes/modules/sideboxes/information.php line 73.
I use Bootstrap v3.5.0 and Zen Cart 1.5.8.
Does anybody have any idea, waht the error might be.
That makes no sense to me. Just so I'm clear, are you trying to switch on sideboxes/information.php or sideboxes/bootstrap/information.php? FWIW, I tried the same operation, albeit on a version of zc158 that has all the latest patches, without issue.
Re: ZCA Bootstrap 4 Template [Support Thread]
Quote:
Originally Posted by
todoonada
When I want to switch on the sideboxes/information.php in the Layout Boxes Controller I get the following error and almost blank shop page.
PHP Fatal error: Uncaught Error: Failed opening required 'includes/templates/bootstrap/common/' (include_path='.:/opt/lampp/lib/php') in zencart-1.5.8/includes/modules/sideboxes/information.php:73
This error does not happen when I use the Responsive Classic Template. All other sideboxes also seem to work. I can not find any error in includes/modules/sideboxes/information.php line 73.
I use Bootstrap v3.5.0 and Zen Cart 1.5.8.
Does anybody have any idea, waht the error might be.
This is because the "information.php" file in \includes\modules\sideboxes\bootstrap [or your template copy] is not the bootstrap version and / or the file being loaded is located in \includes\modules\sideboxes.
If using the bootstrap template, this is easily reproduced by changing the name of \includes\modules\sideboxes\bootstrap\information.php to "information .php2".
Re: ZCA Bootstrap 4 Template [Support Thread]
Quote:
Originally Posted by
lat9
That makes no sense to me. Just so I'm clear, are you trying to switch on sideboxes/information.php or sideboxes/bootstrap/information.php? FWIW, I tried the same operation, albeit on a version of zc158 that has all the latest patches, without issue.
I can not make sense of it, too.
I have the Bootstrap template active. In the Tools -> Layout Boxes Controller I do not have any sideboxes/bootstrap/boxname listed. Onlysideboxes/boxname.
The "Currently Viewing" selector on Layout Boxes Controller page is set to ZCA Bootstrap of course.
It seems like $box_id is not set in zencart-1.5.8/includes/templates/bootstrap/sideboxes/tpl_information.php.
Same with $column_box_default in zencart-1.5.8/includes/modules/sideboxes/information.php.
Re: ZCA Bootstrap 4 Template [Support Thread]
Quote:
Originally Posted by
OldNGrey
This is because the "information.php" file in \includes\modules\sideboxes\bootstrap [or your template copy] is not the bootstrap version and / or the file being loaded is located in \includes\modules\sideboxes.
If using the bootstrap template, this is easily reproduced by changing the name of \includes\modules\sideboxes\bootstrap\information.php to "information .php2".
I downloaded ZCA-Bootstrap-Template-3.5.0 and copied the files. I copied again to verify that all files are there and it is still the same error. All the other sideboxes work. It is only the information-sidebox causing the problem.
Re: ZCA Bootstrap 4 Template [Support Thread]
Quote:
Originally Posted by
todoonada
I can not make sense of it, too.
I have the Bootstrap template active. In the Tools -> Layout Boxes Controller I do not have any sideboxes/bootstrap/boxname listed. Onlysideboxes/boxname.
The "Currently Viewing" selector on Layout Boxes Controller page is set to ZCA Bootstrap of course.
It seems like $box_id is not set in zencart-1.5.8/includes/templates/bootstrap/sideboxes/tpl_information.php.
Same with $column_box_default in zencart-1.5.8/includes/modules/sideboxes/information.php.
@todoonada, was this a fresh install of the template on zc158? Since you aren't seeing any bootstrap-based sideboxes indicated, perhaps a click of the "Reset Settings" button, at the bottom of the admin's Layout Controller page?