Hi?
I have install bxSlider Module and have trouble : slider shows max 5 images. I have chaged option "Images Count" and it's doesn't work.
What happend?
Trouble witch Images Count bxSlider Module
-
- Phoca Member
- Posts: 12
- Joined: 21 Jun 2016, 17:56
- Jan
- Phoca Hero
- Posts: 47887
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Trouble witch Images Count bxSlider Module
Hi, which version of Phoca Gallery you are using, which version of the module? When saving the parameter, is different value displayed in options?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 12
- Joined: 21 Jun 2016, 17:56
Re: Trouble witch Images Count bxSlider Module
Hi,
i use:
Joomla! 3.5.1 Stable [ Unicorn ] 05-April-2016 22:45 GMT
Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
Galery 4.3.0
bxSlider module 4.0.4
Count of displayed images is not dependent on the stored parameter. Now it is 300, and display only 5.
i use:
Joomla! 3.5.1 Stable [ Unicorn ] 05-April-2016 22:45 GMT
Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
Galery 4.3.0
bxSlider module 4.0.4
Count of displayed images is not dependent on the stored parameter. Now it is 300, and display only 5.
- Jan
- Phoca Hero
- Posts: 47887
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Trouble witch Images Count bxSlider Module
Hi, can I see the site where this occurs?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 12
- Joined: 21 Jun 2016, 17:56
- Jan
- Phoca Hero
- Posts: 47887
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Trouble witch Images Count bxSlider Module
Hi, yes, in source code, only 5 images are displayed, but testing now on my localhost, get the count which is set in module.
When you save the parameter (options) of the module, is the value changed (e.g. if you set 10, is 10 stored):
When you save the parameter (options) of the module, is the value changed (e.g. if you set 10, is 10 stored):
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 12
- Joined: 21 Jun 2016, 17:56
Re: Trouble witch Images Count bxSlider Module
Hi,
yes, if i change option, it's value stored. Now set 300.
https://yadi.sk/i/EPnVLOgsstwfm (see image)
yes, if i change option, it's value stored. Now set 300.
https://yadi.sk/i/EPnVLOgsstwfm (see image)
Last edited by sdi68 on 06 Jul 2016, 17:36, edited 1 time in total.
- Jan
- Phoca Hero
- Posts: 47887
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Trouble witch Images Count bxSlider Module
Hi, I see no image, as I wrote, tested now, tested the code, everything OK Did you set it in right module?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 12
- Joined: 21 Jun 2016, 17:56
Re: Trouble witch Images Count bxSlider Module
Hi/
You can see image by link: https://yadi.sk/i/EPnVLOgsstwfm
I have download module from your site... I think it's right.
But, after insall Phoca Galery haven't worked template preview...
You can see image by link: https://yadi.sk/i/EPnVLOgsstwfm
I have download module from your site... I think it's right.
But, after insall Phoca Galery haven't worked template preview...
- Jan
- Phoca Hero
- Posts: 47887
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Trouble witch Images Count bxSlider Module
Hi, hmmm, I am testing it on three different servers without any problem. As you can see below:
- parameter is taken from Options (XML)
- when set it is added to SQL query with Limit
Not sure if I asked before, but did you test if cache is enabled. If yes, did you try to clean it?
Jan
- parameter is taken from Options (XML)
- when set it is added to SQL query with Limit
Code: Select all
<field name="count_images" type="text" default="5" label="MOD_PHOCAGALLERY_SLIDESHOW_BXSLIDER_COUNT_IMAGES_LABEL" description="MOD_PHOCAGALLERY_SLIDESHOW_BXSLIDER_COUNT_IMAGES_DESC" />
Code: Select all
$count = $params->get( 'count_images', 5 );
Code: Select all
$query = ' SELECT a.id, a.title, a.description, a.filename, a.extl, a.extlink1, a.extlink2, cc.id as categoryid, cc.alias as categoryalias'
. ' FROM #__phocagallery AS a'
. ' LEFT JOIN #__phocagallery_categories AS cc ON a.catid = cc.id'
. ' WHERE a.published = 1'
. $catidSQL
//. ' WHERE cc.published = 1 AND a.published = 1 AND a.catid = ' . (int)$catId
//. ' ORDER BY RAND()'
. $imageOrdering
. ' LIMIT '.(int)$count;
Jan
If you find Phoca extensions useful, please support the project