Zen Cart Logo
Forums / Addon Templates / ZCA Bootstrap 4 Template [Support Thread]

ZCA Bootstrap 4 Template [Support Thread]

Views: 542,569

Results 1,001 to 1,020 of 1,686
17 May 2023, 12:59 PM
#1001
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

ZCA Bootstrap 4 Template [Support Thread]

simon1066:

Ok, I think I know the why. Visiting this image in chrome, dev tools shows it as having a type of 'document', it should be 'webp'

https://www.allmart.ca/store/images/banners/PRIME-Header.webp

> 
> Attachment 20296
> 
> So you can rule out the slider plugin. I don't have the answer though, possibly server or .htaccess related.

No, Chrome seems to show all images as type Document - so I don't think it's that.
17 May 2023, 2:17 PM
#1002
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

simon1066:

No, Chrome seems to show all images as type Document - so I don't think it's that.

Thanks for your efforts

17 May 2023, 4:11 PM
#1003
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

One final thought - I wonder if it is to do with how you created the .webp images. I say that because I am unable to open one of the slider images in Photoshop. Perhaps grab one from here and add it to your site as a test,

https://developers.google.com/speed/webp/gallery1

17 May 2023, 6:14 PM
#1004
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

simon1066:

One final thought - I wonder if it is to do with how you created the .webp images. I say that because I am unable to open one of the slider images in Photoshop. Perhaps grab one from here and add it to your site as a test,

https://developers.google.com/speed/webp/gallery1
Talk about overlooking the obvious ... Simon, you're a genius. Clearly my photoshop plugin is not working correctly. I have been using ZX Slideshow but assumed that because it hasn't been updated that it wouldn't work with webp and it didn't, at no fault to ZX Slideshow so I tried the Bootstrap Carousel which of course failed for the same reason. Thank you so much for your help and the others with your suggestions. Sorry for wasting everybody's time.

Cheers!

John

17 May 2023, 7:52 PM
#1005
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

Thanks @simon1066 and @allmart for collaborating and working out the root-cause!

18 May 2023, 7:56 AM
#1006
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

You're welcome. I'm glad we got there - in the end.

FWIW, this is the plugin I use on my Photoshop (CS6) install, probably the same as you

https://github.com/webmproject/WebPShop/releases

20 May 2023, 12:27 AM
#1007
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,765
Plugin Contributions:
9

Re: ZCA Bootstrap 4 Template [Support Thread]

1.5.8a sites using 3.5.3 or a later beta
PHP varies from 7.4 to 8.02

No problems before adding the files merged in the last week.

Now getting the following warning on all boostrap sites but not on similar sites using responsive_classic

All sites are a clone of either bootstrap or responsive_classic and reverting to the un-cloned bootstrap still results in:```
[19-May-2023 21:00:52 UTC] Request URI: /, IP address: 56.128.22.221, Language id 1#1 require_once(/includes/init_includes/init_canonical.php) called at [/includes/autoload_func.php:40]
#2 require(/includes/autoload_func.php) called at [/includes/application_top.php:237]
#3 require(/includes/application_top.php) called at [/index.php:25]
--> PHP Warning: Undefined variable $this_is_home_page in /includes/init_includes/init_canonical.php on line 82.

[19-May-2023 21:00:52 UTC] Request URI: /, IP address: 56.128.22.221, Language id 1
#1 require(/includes/modules/meta_tags.php) called at [/includes/templates/boot_broth/common/html_header.php:27]
#2 require(/includes/templates/boot_broth/common/html_header.php) called at [/index.php:42]
--> PHP Warning: Undefined variable $this_is_home_page in /includes/modules/meta_tags.php on line 97.

[19-May-2023 21:00:52 UTC] Request URI: /, IP address: 56.128.22.221, Language id 1
#1 require(/includes/templates/boot_broth/common/html_header.php) called at [/index.php:42]
--> PHP Warning: Undefined variable $this_is_home_page in /includes/templates/boot_broth/common/html_header.php on line 125.

[19-May-2023 21:00:52 UTC] Request URI: /, IP address: 56.128.22.221, Language id 1
#1 require(/includes/templates/boot_broth/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: Undefined variable $this_is_home_page in /includes/templates/boot_broth/common/tpl_main_page.php on line 86.

[19-May-2023 21:00:52 UTC] Request URI: /, IP address: 56.128.22.221, Language id 1
#1 require(/includes/templates/boot_broth/common/tpl_header.php) called at [/includes/templates/boot_broth/common/tpl_main_page.php:137]
#2 require(/includes/templates/boot_broth/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: Undefined variable $this_is_home_page in /includes/templates/boot_broth/common/tpl_header.php on line 35.

[19-May-2023 21:00:52 UTC] Request URI: /, IP address: 56.128.22.221, Language id 1
#1 require(/includes/templates/boot_broth/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: Undefined variable $this_is_home_page in /includes/templates/boot_broth/common/tpl_main_page.php on line 165.

20 May 2023, 12:40 AM
#1008
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,765
Plugin Contributions:
9

Re: ZCA Bootstrap 4 Template [Support Thread]

This may not be a bootstrap problem as I now find that the includes/init_includes_category_path.php files are different in this case.

Checking further.

YEP, somehow the init_category_opath.php file got skipped.

2 Jun 2023, 5:17 PM
#1009
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

Re: ZCA Bootstrap 4 Template [Support Thread]

Zen cart 1.5.6C
ZCA Bootstrap
PHP 7.4
I am having an issue with a lot of spam email from the web contact form. These are written in russian and use a .ru email address. My question is can I stop all webforms being sent using Russian language and or [email protected]. Many Thanks for any suggestions.

2 Jun 2023, 9:51 PM
#1010
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
417
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

ianhg:

Zen cart 1.5.6C
ZCA Bootstrap
PHP 7.4
I am having an issue with a lot of spam email from the web contact form. These are written in russian and use a .ru email address. My question is can I stop all webforms being sent using Russian language and or [email protected]. Many Thanks for any suggestions.

Have a look at Access Blocker. The downloads page is "Access Blocker (a pseudo-recaptcha)" https://www.zen-cart.com/downloads.php?do=file&id=2237 the support thread is https://www.zen-cart.com/showthread.php?225161-Access-Blocker-Support-Thread

This plugin blocks listed host addresses eg ".ru" and tor variants and also message keywords eg 'Привет,Ребята" and allows for a whitelist of email addresses.

My contact form spam is now almost negligible.

3 Jun 2023, 5:22 AM
#1011
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

Re: ZCA Bootstrap 4 Template [Support Thread]

@OldNGrey thanking for suggesting the plug-in I will give it a try, much appreciated.

10 Jun 2023, 10:31 PM
#1013
soliloqueen avatar

soliloqueen

New Zenner

Join Date:
Jun 2023
Location:
Michigan
Posts:
8
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Running into strange issues with responsiveness. There's only one column and it's stretched right. Doesn't matter what size the device is. Checked with responsive app & multiple browsers. I'm on 1.5.8a. I just migrated from a litespeed server to an apache one for unrelated reasons and the problem has persisted.

11 Jun 2023, 9:39 AM
#1014
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

soliloqueen:

Running into strange issues with responsiveness. There's only one column and it's stretched right. Doesn't matter what size the device is. Checked with responsive app & multiple browsers. I'm on 1.5.8a. I just migrated from a litespeed server to an apache one for unrelated reasons and the problem has persisted.
What are the site's configuration settings for the Bootstrap Left/Center/Right Column widths? Does this happen on all pages?

P.S. Welcome to the Zen Cart community!

12 Jun 2023, 6:36 AM
#1015
soliloqueen avatar

soliloqueen

New Zenner

Join Date:
Jun 2023
Location:
Michigan
Posts:
8
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

lat9:

What are the site's configuration settings for the Bootstrap Left/Center/Right Column widths? Does this happen on all pages?

P.S. Welcome to the Zen Cart community!

fully stock setup. clean install with php 8.2 from the stock install script. let me go check the details again. it happens on all pages, yep.

thanks! i actually am experimenting with a few other carts right now, but i like zen cart's back of house the best so far, especially the tax setup. i would prefer to use it

12 Jun 2023, 6:17 PM
#1016
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,685
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

Stupid CSS question: how do you get the top nav bar (Home/Log In/ etc.) to align right rather than left?

12 Jun 2023, 7:29 PM
#1017
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,685
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

Aha! Easy peasy. Go from

                <ul class="navbar-nav mr-auto">

to

                <ul class="navbar-nav ml-auto">

in includes/templates/bootstrap/common/tpl_header.php around line 33.

12 Jun 2023, 7:50 PM
#1018
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,765
Plugin Contributions:
9

Re: ZCA Bootstrap 4 Template [Support Thread]

One interesting thing I am seeing with 3.5.3 and later is that the right-hand sidebox is disappearing in the product listing if the item is priced by attributes.

Makes things difficult if trying to use Dynamic Price Updater.

12 Jun 2023, 8:57 PM
#1019
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,685
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

the right-hand sidebox is disappearing in the product listing ...

Do you mean on the product info page?

If so, just edit common/tpl_main_page.php around line 56 and remove product_info from the list of pages where a $flag_disable_right = true is done.

12 Jun 2023, 10:15 PM
#1020
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,765
Plugin Contributions:
9

Re: ZCA Bootstrap 4 Template [Support Thread]

DOH!

Maybe it's the fact I don't drink coffee. Gonna have to get more Dark Chocolate to get the memory working better.