Bug found + solution in Slideshow description

Phoca Gallery - image gallery extension
rob-van-baal
Phoca Member
Phoca Member
Posts: 27
Joined: 14 Jan 2011, 21:15
Location: Netherlands
Contact:

Bug found + solution in Slideshow description

Post by rob-van-baal »

Hello Phoca team,

(using Joomla 3.2.0 with Galery 4.0.4)

There is a bug in the slideshow configuration settings for the description. In the config.xml file it says:

Code: Select all

<field name="slideshow_description" type="list" default="peekaboo" label="COM_PHOCAGALLERY_FIELD_SLIDESHOW_RANDOM_LABEL" description="COM_PHOCAGALLERY_FIELD_SLIDESHOW_RANDOM_DESC">
	<option value="ondemand">COM_PHOCAGALLERY_ONDEMAND</option>
	<option value="allways">COM_PHOCAGALLERY_ALLWAYS</option>
	<option value="peekaboo">COM_PHOCAGALLERY_PEEKABOO</option>
	<option value="none">COM_PHOCAGALLERY_NONE</option>
</field>
When you look at the javascript parameters of the underlaying Slideshow at http://www.dynamicdrive.com/dynamicinde ... deshow.htm, you will find that the parameter settings should be:

Code: Select all

For a slideshow in which at least one image has a description associated with it, this option dictates the style of the Description Panel. The four possible values are:

    "ondemand": Reveals the description when the user mouses over the slideshow, then hides it again when the mouse moves out.
    "always": Shows a persistent description panel at the foot of the slideshow that can be dismissed by clicking on the "x" icon.
    "peekaboo": (v2.4 feature). Reveals the description for each image automatically by sliding it in view each time, then hiding it again before the next image is shown. This setting is similar to "always" above, except the description isn't always visible, allowing viewers to see each image in its entirety momentarily.
    "none": Explicitly disables the descriptions from showing. While not defining a description for any of your images inside the initialization code has a similar effect, this option is useful when you wish to define descriptions, but just not show them using one of the methods above, but rather, in combo with the onslide() event handler for example.
3 of 4 are correct. There is a typo with the allways string which should be always (with one l). When set, the slide show description is showed continiously. :twisted: Bug solved.

Could you please repair it in the next version of the component?

Thanks and keep up the good work!

Regards,

Rob van Baal
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Bug found + solution in Slideshow description

Post by Jan »

Hi, yes, seems like typo error, I will fix it, thank you for this information.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Bug found + solution in Slideshow description

Post by Jan »

Hi, fixed in 3.2.7 (and will be fixed in 4.1.1)

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Bug found + solution in Slideshow description

Post by Jan »

Fixed in 4.1.1
If you find Phoca extensions useful, please support the project
Post Reply