Page 2 of 2

Re: Phoca Gallery Button default config

Posted: 23 Jul 2011, 00:19
by Jan
Hi, see no problems there, working as expected:

Image

Jan

Re: Phoca Gallery Button default config

Posted: 25 Jul 2011, 08:17
by cellardoor_ncx
did you hard code it as I posted before ? Can you append your phocagallery.php ?

Re: Phoca Gallery Button default config

Posted: 25 Jul 2011, 16:54
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

Re: Phoca Gallery Button default config

Posted: 26 Jul 2011, 12:47
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.

Re: Phoca Gallery Button default config

Posted: 27 Jul 2011, 00:26
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

Re: Phoca Gallery Button default config

Posted: 27 Jul 2011, 10:43
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

Re: Phoca Gallery Button default config

Posted: 27 Jul 2011, 19:31
by Jan
Hi, then check your site for javascript errors.