Hi,
I've done the migration of my website yesterday from Joomla 3.10 to Joomla 4.1.5 with PHP 8.
After reconfiguring the Phoca Gallery component, I still have trouble with the Phoca Gallery Slideshow bxSlider component which doesn't load any picture.
My website : https://www.asnraincy.fr with the component on the right side.
Is this module works in Joomla 4 or not yet ?
Best regards,
Sylvain
Phoca Gallery Slideshow bxSlider
-
- Phoca Newbie
- Posts: 7
- Joined: 01 Nov 2018, 16:47
Re: Phoca Gallery Slideshow bxSlider
Hi again,
I've find my answer on the following topic : https://www.phoca.cz/forum/viewtopic.php?f=13&t=62713, as my post here is not on the right place. Sorry for that.
On my case, with the 4.5 version, i've commented the 276 and 280 lines on /public_html/modules/mod_phocagallery_slideshow_bxslider/javascript/jquery.bxslider.js as follows :
//$(this).load(function(){
setTimeout(function(){
if(++count == total) callback();
}, 0)
//});
Regards,
Sylvain
I've find my answer on the following topic : https://www.phoca.cz/forum/viewtopic.php?f=13&t=62713, as my post here is not on the right place. Sorry for that.
On my case, with the 4.5 version, i've commented the 276 and 280 lines on /public_html/modules/mod_phocagallery_slideshow_bxslider/javascript/jquery.bxslider.js as follows :
//$(this).load(function(){
setTimeout(function(){
if(++count == total) callback();
}, 0)
//});
Regards,
Sylvain
- Jan
- Phoca Hero
- Posts: 47898
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Gallery Slideshow bxSlider
Hi, OK, thank you for the info.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 7
- Joined: 01 Nov 2018, 16:47
Re: Phoca Gallery Slideshow bxSlider
Hello,
I'm still using the Phoca Gallery Slideshow bxSlide with Joomla 4.4.0 / PHP 8.0 but the component doesn't work anymore with PHP 8.1 and I'm not able to see what is wrong on my logs.
Anyway, looking at different posts on the forum, it seems we need to use the Phoca Carrousel module by now.
I've installed the Phoca Carrousel module but i did'nt found how we can set the whole pictures of the phoca gallery.
Can you help me on that point ?
I go on "Items" on the configuration module part, then "Select". I choose 3 pictures but only one is set up.
Regards,
Sylvain
I'm still using the Phoca Gallery Slideshow bxSlide with Joomla 4.4.0 / PHP 8.0 but the component doesn't work anymore with PHP 8.1 and I'm not able to see what is wrong on my logs.
Anyway, looking at different posts on the forum, it seems we need to use the Phoca Carrousel module by now.
I've installed the Phoca Carrousel module but i did'nt found how we can set the whole pictures of the phoca gallery.
Can you help me on that point ?
I go on "Items" on the configuration module part, then "Select". I choose 3 pictures but only one is set up.
Regards,
Sylvain
-
- Phoca Hero
- Posts: 2740
- Joined: 28 Nov 2010, 17:20
Re: Phoca Gallery Slideshow bxSlider
Hi Sylvain,
Hope, it helps.
Kind regards
Christine
To see the other images (first image, second image, third image etc.) you have to enter (store) them as background image (also).
Hope, it helps.
Kind regards
Christine
-
- Phoca Newbie
- Posts: 7
- Joined: 01 Nov 2018, 16:47
Re: Phoca Gallery Slideshow bxSlider
Hi Christine and thanks for your answer.
I finally stay on the bxSlider component.
Now my website is on PHP 8.2 and I've changed the following on the "mod_phocagallery_slideshow_bxslider.php" file :
, with the adding of a parameter on the htmlspecialchars function.
Indeed, there is a change on PHP 8.1 on that function for encoding the quote by default, like the others characters (", <, > ...").
Thus, i force with this parameter the old value and component is thus working again.
Explanation of the change on the function :
https://php.watch/versions/8.1/html-ent ... ue-changes
Regards,
Sylvain
I finally stay on the bxSlider component.
Now my website is on PHP 8.2 and I've changed the following on the "mod_phocagallery_slideshow_bxslider.php" file :
Code: Select all
$js = 'jQuery(document).ready(function(){jQuery(\'.pgbx-bxslider\').show().bxSlider({'.htmlspecialchars($s['params'],ENT_COMPAT).'});});'. "\n";
Indeed, there is a change on PHP 8.1 on that function for encoding the quote by default, like the others characters (", <, > ...").
Thus, i force with this parameter the old value and component is thus working again.
Explanation of the change on the function :
https://php.watch/versions/8.1/html-ent ... ue-changes
Regards,
Sylvain
- Jan
- Phoca Hero
- Posts: 47898
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Gallery Slideshow bxSlider
Hi, thank you for the info.
Jan
Jan
If you find Phoca extensions useful, please support the project