Re: ZCA Bootstrap Template
v3.5.1 of the ZCA Bootstrap 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:
#188: Remove redundant code from the products_listing module.
#190: Legacy checkout, customer's existing addresses not displayed when changing shipping/billing address.
#192: Use FA glyph instead of image-icon for the update-icon on the shopping_cart page.
#193: Correct non-display of product-delete checkboxes on the shopping_cart page.
#194: Correct display position of product-delete icons/checkboxes on small viewports.
#195: Correct HTML validation error on the shipping-estimator display.
#196: Correct 'sold-outimages displaying as images instead of buttons on zc158. #198: Use zc158 method to ensure T&C checkbox is ticked oncheckout_payment` page.
#200: Correct location of 'Header Position 1' banners, they were overlaid by the navbar.
#201: Correct display of carousel banners' previous/next icons and indicators.
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
gsh68
Is there a way to get a sidebox to show in mobile view?
When using a sidebox for banners for announcements (away/shipping delays etc) it's all fine in desktop view but missing in mobile view.
Thanks.
Apparently not yet. I asked a similar question last December about converting a sidebox into a centrebox and viceversa and was advised that such a thing had to be developed. Since then I have not had the time to follow up.
https://www.zen-cart.com/showthread....61#post1392261
Re: ZCA Bootstrap Template
1.5.8 from git
PHP 8.0
Latest bootstrap from git
Partial blank page
Code:
[10-Feb-2023 01:53:46 UTC] Request URI: /index.php?main_page=index, IP address: 177.216.199.186, Language id 1#1 require(/includes/templates/frammerdibble/sideboxes/tpl_best_sellers.php) called at [/includes/modules/sideboxes/best_sellers.php:55]
#2 include(/includes/modules/sideboxes/best_sellers.php) called at [/includes/modules/column_right.php:30]
#3 require(/includes/modules/column_right.php) called at [/includes/templates/frammerdibble/common/tpl_main_page.php:250]
#4 require(/includes/templates/frammerdibble/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: Undefined variable $bestsellers_list in /includes/templates/frammerdibble/sideboxes/tpl_best_sellers.php on line 14.
[10-Feb-2023 01:53:46 UTC] PHP Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, null given in /includes/templates/frammerdibble/sideboxes/tpl_best_sellers.php:14
Stack trace:
#0 /includes/modules/sideboxes/best_sellers.php(55): require()
#1 /includes/modules/column_right.php(30): include('/home/frammer...')
#2 /includes/templates/frammerdibble/common/tpl_main_page.php(250): require('/home/frammer...')
#3 /index.php(94): require('/home/frammer...')
#4 {main}
thrown in /includes/templates/frammerdibble/sideboxes/tpl_best_sellers.php on line 14
[10-Feb-2023 01:53:46 UTC] Request URI: /index.php?main_page=index, IP address: 216.177.186.199
--> PHP Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, null given in /includes/templates/frammerdibble/sideboxes/tpl_best_sellers.php:14
Stack trace:
#0 /includes/modules/sideboxes/best_sellers.php(55): require()
#1 /includes/modules/column_right.php(30): include('/home/frammer...')
#2 /includes/templates/frammerdibble/common/tpl_main_page.php(250): require('/home/frammer...')
#3 /index.php(94): require('/home/frammer...')
#4 {main}
thrown in /includes/templates/frammerdibble/sideboxes/tpl_best_sellers.php on line 14.
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
gsh68
Is there a way to get a sidebox to show in mobile view?
When using a sidebox for banners for announcements (away/shipping delays etc) it's all fine in desktop view but missing in mobile view.
If not possible is there a way for a wide-banner at the top of the page to not be hidden by the navigation bar? It displays under the footer fine in both desktop and mobile view but is hidden at the top.
Thanks.
v3.5.1 of the template no longer covers the top (Header Position 1) banner by the navigation bar.
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
dbltoe
1.5.8 from git
PHP 8.0
Latest bootstrap from git
Partial blank page
Code:
[10-Feb-2023 01:53:46 UTC] Request URI: /index.php?main_page=index, IP address: 177.216.199.186, Language id 1#1 require(/includes/templates/frammerdibble/sideboxes/tpl_best_sellers.php) called at [/includes/modules/sideboxes/best_sellers.php:55]
#2 include(/includes/modules/sideboxes/best_sellers.php) called at [/includes/modules/column_right.php:30]
#3 require(/includes/modules/column_right.php) called at [/includes/templates/frammerdibble/common/tpl_main_page.php:250]
#4 require(/includes/templates/frammerdibble/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: Undefined variable $bestsellers_list in /includes/templates/frammerdibble/sideboxes/tpl_best_sellers.php on line 14.
[10-Feb-2023 01:53:46 UTC] PHP Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, null given in /includes/templates/frammerdibble/sideboxes/tpl_best_sellers.php:14
Stack trace:
#0 /includes/modules/sideboxes/best_sellers.php(55): require()
#1 /includes/modules/column_right.php(30): include('/home/frammer...')
#2 /includes/templates/frammerdibble/common/tpl_main_page.php(250): require('/home/frammer...')
#3 /index.php(94): require('/home/frammer...')
#4 {main}
thrown in /includes/templates/frammerdibble/sideboxes/tpl_best_sellers.php on line 14
[10-Feb-2023 01:53:46 UTC] Request URI: /index.php?main_page=index, IP address: 216.177.186.199
--> PHP Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, null given in /includes/templates/frammerdibble/sideboxes/tpl_best_sellers.php:14
Stack trace:
#0 /includes/modules/sideboxes/best_sellers.php(55): require()
#1 /includes/modules/column_right.php(30): include('/home/frammer...')
#2 /includes/templates/frammerdibble/common/tpl_main_page.php(250): require('/home/frammer...')
#3 /index.php(94): require('/home/frammer...')
#4 {main}
thrown in /includes/templates/frammerdibble/sideboxes/tpl_best_sellers.php on line 14.
What's the site's setting for Minimum Values :: Best Sellers and Maximum Values :: Best Sellers for Box?
FWIW, I'm guessing that the Responsive Classic template's going to do the same thing.
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
dw08gm
Apparently not yet. I asked a similar question last December about converting a sidebox into a centrebox and viceversa and was advised that such a thing had to be developed. Since then I have not had the time to follow up.
https://www.zen-cart.com/showthread....61#post1392261
The thing with converting a sidebox to a centrebox is that a centrebox-rendering script (/includes/templates/bootstrap/centerboxes) would need to be supplied. That's why @swguy indicated that custom-coding would be needed.
What could be done by the base template is to include all active sideboxes in the mobile dropdown menu.
I'm thinking that two new headings' texts (one for the left-sidebox and one for the right-sidebox) would be supplied in the base Bootstrap language file. All active sideboxes in each (other than the information and more_information ones, which stand on their own) would be displayed in a drop-down menu under the associated heading.
If a site didn't want the sidebox to display on mobile, site-specific CSS could be used to hide the information (it'd still be there for Google/Bing to scrape, though).
Would that work as a partial solution?
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
lat9
The thing with converting a sidebox to a centrebox is that a centrebox-rendering script (/includes/templates/bootstrap/centerboxes) would need to be supplied. That's why @swguy indicated that custom-coding would be needed.
What could be done by the base template is to include all active sideboxes in the mobile dropdown menu.
I'm thinking that two new headings' texts (one for the left-sidebox and one for the right-sidebox) would be supplied in the base Bootstrap language file. All active sideboxes in each (other than the information and more_information ones, which stand on their own) would be displayed in a drop-down menu under the associated heading.
If a site didn't want the sidebox to display on mobile, site-specific CSS could be used to hide the information (it'd still be there for Google/Bing to scrape, though).
Would that work as a partial solution?
I would like to see that, but am so tied up at the moment that I can do little more than read and occasionally comment on this matter. So from my side there is no hurry to begin any of this.
I was thinking of a CSS solution using display:none with screen width or other media parameters, but irked at the possibility that perhaps two boxes or the same information could be sent when only one lot should.
Cheers
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
lat9
What's the site's setting for Minimum Values :: Best Sellers and Maximum Values :: Best Sellers for Box?
FWIW, I'm guessing that the Responsive Classic template's going to do the same thing.
Yes on the Responsive Classic
Settings are 0 and 10 respectively.
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
dbltoe
Yes on the Responsive Classic
Settings are 0 and 10 respectively.
It's a base Zen Cart issue; see https://github.com/zencart/zencart/issues/5596 for details.
Re: ZCA Bootstrap Template
Setting the minimum to 1 makes it all better.:yes: