Hello to All,
we have trouble with the phoca gallery Plugin and hope somebody can support us.
Settings:
- Joomla 3.3.6
- Phoca Gallery 4.1.2
- Phoca Gallery Plugin 4.1.2
- JAK lightbox default in global settings
We use the gallery code four times in one article:
Description 1
{phocagallery view=category|categoryid=137}
Description 2
{phocagallery view=category|categoryid=135}
Description 3
{phocagallery view=category|categoryid=136}
Description 4
{phocagallery view=category|categoryid=134}
=> The first Gallery opens in JAK light box. The second, third and fourth opens the selected image in the same window without the JAK lightbox.
I set the shadowbox as default and now all gallerys open in the shadowbox window.
It seems that this occurs only with the JAK lightbox
Thanks in advance
Greetings
FFST
[Solved] Multiple Gallerys in one Article /JAK lightbox prob
-
- Phoca Newbie
- Posts: 3
- Joined: 26 Oct 2014, 12:01
- Location: Germany / Bavaria
[Solved] Multiple Gallerys in one Article /JAK lightbox prob
Last edited by ffst on 31 Oct 2014, 11:00, edited 1 time in total.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Multiple Gallerys in one Article / JAK lightbox problem
Hi, do you get any javascript conflicts there. Some of the javascript libraries can have problems with multiple instances
https://www.phoca.cz/documents/16-joomla ... -conflicts
Jan
https://www.phoca.cz/documents/16-joomla ... -conflicts
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 26 Oct 2014, 12:01
- Location: Germany / Bavaria
Re: Multiple Gallerys in one Article / JAK lightbox problem
Hi Jan,
thanks for the quick response. In the Console of Firefox i got some Reference Errors in the JS Tab:
ReferenceError: optgjaksPlPhocaGalleryPlf84ae07b is not defined
ReferenceError: optgjaksPlPhocaGalleryPlc4b862d2 is not defined
ReferenceError: optgjaksPlPhocaGalleryPleac12b18 is not defined
The Installation where this Problem occurs is a upgraded Installation of this system:
joomla 2.5.27
Phoca Gallery 3.2.7
Phoca Gallery Plugin 3.2.0
With this config, we had no Problems with the JAK Box.
FFST
thanks for the quick response. In the Console of Firefox i got some Reference Errors in the JS Tab:
ReferenceError: optgjaksPlPhocaGalleryPlf84ae07b is not defined
ReferenceError: optgjaksPlPhocaGalleryPlc4b862d2 is not defined
ReferenceError: optgjaksPlPhocaGalleryPleac12b18 is not defined
The Installation where this Problem occurs is a upgraded Installation of this system:
joomla 2.5.27
Phoca Gallery 3.2.7
Phoca Gallery Plugin 3.2.0
With this config, we had no Problems with the JAK Box.
FFST
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Multiple Gallerys in one Article / JAK lightbox problem
Hi, thank you for the info, confirmed. I will fix it in next version.
Quick fix:
open:
administrator\components\com_phocagallery\libraries\phocagallery\render\renderdetailwindow.php
line cca: 270, comment this line:
$library->setLibrary('pg-group-jak-pl', 1);
so:
FROM:
TO:
Jan
Quick fix:
open:
administrator\components\com_phocagallery\libraries\phocagallery\render\renderdetailwindow.php
line cca: 270, comment this line:
$library->setLibrary('pg-group-jak-pl', 1);
so:
FROM:
Code: Select all
$library->setLibrary('pg-group-jak-pl', 1);
Code: Select all
//$library->setLibrary('pg-group-jak-pl', 1);
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 26 Oct 2014, 12:01
- Location: Germany / Bavaria
Re: [Solved] Multiple Gallerys in one Article /JAK lightbox
Hi Jan,
thanks for the quick Solution and the workaround. I`ve checked it on our Testsystem and now it works.
So we can go on with our migration plan to Joomla3
ffst
thanks for the quick Solution and the workaround. I`ve checked it on our Testsystem and now it works.
So we can go on with our migration plan to Joomla3
ffst
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: [Solved] Multiple Gallerys in one Article /JAK lightbox
Ok, great to hear it.
Jan
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: [Solved] Multiple Gallerys in one Article /JAK lightbox
Set in Phoca Gallery 4.2.0
If you find Phoca extensions useful, please support the project