Photo gallery Carousel block Not working

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
joksta42
 
 
Posts: 2
Joined: Fri Nov 11, 2022 9:42 pm

Photo gallery Carousel block Not working

Post by joksta42 »

Since changing to 18 update from 17, my Photo gallery carousel does not work. The script that tells the carousel to change when clicking on an image from the photo gallery does nothing. The script from photo gallery says (#Carousel1" data-slide-to="0) which is normal and has not changed since the update. However, the carousel has changed too, ($('#Carousel2').bootstrapcarousel(0)) which breaks it. There is no Carousel2, and when I change it to 1, it does not help. There is an option to change the carousel to ($('#Carousel1').carousel('goto,1');) But that does not work either. Is the block broken, or is there a better script I should be using?
User avatar
Pablo
 
Posts: 21574
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Photo gallery Carousel block Not working

Post by Pablo »

The bootstrap carousel does not use jQuery anymore, so the code may need to be updated.

For example:

Code: Select all

data-slide-to
should be

Code: Select all

data-bs-slide-to
and

Code: Select all

#('#Carousel2').bootstrapcarousel(0)
should be somthing like

Code: Select all

bootstrap.Carousel.getInstance('#Carousel2').to(0)
joksta42
 
 
Posts: 2
Joined: Fri Nov 11, 2022 9:42 pm

Re: Photo gallery Carousel block Not working

Post by joksta42 »

Thank you, I'll give that a try and post results.

UPDATE: Ok, I'm getting better results. The page, when clicking on the image from the photo gallery, shifts the page down. Now after having made the code changes, it sits still. So, something is correct. Just a bit off still. I implemented the "Photo Gallery - Carousel" because it worked well on 17 without the need to know the code. I do not know how to code, so one can see my dilemma. Thanks for the prompt response.
User avatar
Pablo
 
Posts: 21574
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Photo gallery Carousel block Not working

Post by Pablo »

I will try to make the block compatible with bootstrap 5 in one of the next updates.
Note that you can also do this yourself:
- drag the block to the page
- change the code
- saved the changes as block

Update: I have updated the block in the current build (hotfix 2)
User avatar
amir2314
 
 
Posts: 318
Joined: Wed Aug 02, 2017 12:16 pm

Re: Photo gallery Carousel block Not working

Post by amir2314 »

Pablo wrote: Sat Nov 12, 2022 7:19 am I will try to make the block compatible with bootstrap 5 in one of the next updates.
Note that you can also do this yourself:
- drag the block to the page
- change the code
- saved the changes as block

Update: I have updated the block in the current build (hotfix 2)
Color tab carousel Block .
I have this problem It dosnt work With Wwb 18
User avatar
Pablo
 
Posts: 21574
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Photo gallery Carousel block Not working

Post by Pablo »

Is this a standard block that comes with the software?
User avatar
amir2314
 
 
Posts: 318
Joined: Wed Aug 02, 2017 12:16 pm

Re: Photo gallery Carousel block Not working

Post by amir2314 »

Pablo wrote: Mon Nov 28, 2022 4:31 pm Is this a standard block that comes with the software?
Yes i downloaded from extra block on wwb main site
User avatar
Pablo
 
Posts: 21574
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Photo gallery Carousel block Not working

Post by Pablo »

Extra blocks are not part of the software, they are provided as an extra service.
Post Reply