Page 1 of 1

Phoca Gallery Slideshow bxSlider

Posted: 27 Aug 2022, 19:33
by slyv
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

Re: Phoca Gallery Slideshow bxSlider

Posted: 27 Aug 2022, 20:51
by slyv
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

Re: Phoca Gallery Slideshow bxSlider

Posted: 27 Aug 2022, 22:39
by Jan
Hi, OK, thank you for the info.

Jan

Re: Phoca Gallery Slideshow bxSlider

Posted: 25 Oct 2023, 20:11
by slyv
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

Re: Phoca Gallery Slideshow bxSlider

Posted: 25 Oct 2023, 22:39
by christine
Hi Sylvain,
slyv wrote: 25 Oct 2023, 20:11
I go on "Items" on the configuration module part, then "Select". I choose 3 pictures but only one is set up.
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

Re: Phoca Gallery Slideshow bxSlider

Posted: 02 Nov 2023, 01:46
by slyv
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 :

Code: Select all

$js = 'jQuery(document).ready(function(){jQuery(\'.pgbx-bxslider\').show().bxSlider({'.htmlspecialchars($s['params'],ENT_COMPAT).'});});'. "\n";
, 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

Re: Phoca Gallery Slideshow bxSlider

Posted: 03 Nov 2023, 17:11
by Jan
Hi, thank you for the info.

Jan