Phoca Gallery Button default config

Phoca Gallery plugins - plugins for Phoca Gallery extension
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Button default config

Post by Jan »

Hi, see no problems there, working as expected:

Image

Jan
If you find Phoca extensions useful, please support the project
cellardoor_ncx
Phoca Member
Phoca Member
Posts: 20
Joined: 18 May 2011, 16:15

Re: Phoca Gallery Button default config

Post by cellardoor_ncx »

did you hard code it as I posted before ? Can you append your phocagallery.php ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Button default config

Post by Jan »

Hi, I don't understand, why hardcoded, I have set it in parameters, the value was 2, the same like if I will paste there constant 2
If you find Phoca extensions useful, please support the project
cellardoor_ncx
Phoca Member
Phoca Member
Posts: 20
Joined: 18 May 2011, 16:15

Re: Phoca Gallery Button default config

Post by cellardoor_ncx »

But the whole thread is about to set the default value to 2... not to change it every time when I paste an image.
I just can't set the default value to 2.

I have a default value in phoca component set to 2, however when adding an image with Phoca gallery button even though it is default there, it does not take the value from phoca component.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Button default config

Post by Jan »

Hi so you should set:

Code: Select all

$enable_overlib			= 2;
after:

Code: Select all

else if($values[0]=='overlib')				{$enable_overlib				= $values[1];}
			}
so it will be not changed by the plugin code.

Jan
If you find Phoca extensions useful, please support the project
cellardoor_ncx
Phoca Member
Phoca Member
Posts: 20
Joined: 18 May 2011, 16:15

Re: Phoca Gallery Button default config

Post by cellardoor_ncx »

I changed it and it works but only once... I mean it makes overlib effect when I first hover the picture. But when I hover the same picture for the second time, it does not.

You can see the problem here http://www.testowa.jagodnik.pl/aktualno ... bez-owocow
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Button default config

Post by Jan »

Hi, then check your site for javascript errors.
If you find Phoca extensions useful, please support the project
Post Reply