How many instances of the Phoca Gallery Plugin?

Phoca Gallery plugins - plugins for Phoca Gallery extension
hup
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 24 Aug 2010, 14:05

How many instances of the Phoca Gallery Plugin?

Post by hup »

I have an article, which is devided in 8 pages by the standard Joomla plugin "Content - Pagebreak".
I want to put 9 instances of the PhocaGallery Plugin within this page using the code
{phocagallery view=category|categoryid=1}
{phocagallery view=category|categoryid=2}
{phocagallery view=category|categoryid=3}
etc.

As long I have 6 instances of the plugin the page is displayed as expected, but when i add the 7.th instance of the plugin, nothing gets displayet, just an empty page with the correct path in the addess-line of the browser.

Is there any limitation, how many instances of the plugin can be used on a single page?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How many instances of the Phoca Gallery Plugin?

Post by Jan »

Hi, there is no limitation in Phoca Gallery, you need to test if there is enough time to run the script (every plugin instance take some time to load)

Jan
If you find Phoca extensions useful, please support the project
hup
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 24 Aug 2010, 14:05

Re: How many instances of the Phoca Gallery Plugin?

Post by hup »

:twisted: Hi and thanks for your hint.
I'll check if there is a time-limit for executing the script in the php.ini on the server.
I'll get back to you later.
hup
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 24 Aug 2010, 14:05

Re: How many instances of the Phoca Gallery Plugin?

Post by hup »

:( There are no problems with the time the script needs to run on the server.
I have installed our site on another server, upgraded to the latest version of Joomla (1.5.20) without any change regarding my problem. I also had a look at my other plugins, but it's difficult to find the problem, as the problem just wipes my page away, so there are no hints by using e.g. firebug.
My best guess is, that there must be a conflict with one of my other plugins on the site.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How many instances of the Phoca Gallery Plugin?

Post by Jan »

:(
If you find Phoca extensions useful, please support the project
hup
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 24 Aug 2010, 14:05

Re: How many instances of the Phoca Gallery Plugin?

Post by hup »

:x Further investigations show, that my problem is relatet to the JAK Lightbox. When I use the other options, eg. Modal Box, High Slide, Shadowbox, everything seems to be alright.

When I use the following code for the plugin:
{phocagallery view=category|categoryid=2|detail=6|displaydetail=1|displaydescription=1|displaybuttons=1|imageshadow=shadow1}
I can use the code 7 time for 7 different categories, if I add the 8th. instance and try to call the page from the menu, I get a blank page with no content at alle.
If i use af different code for the 8th. and 9th. instance of the plugin - eg. {phocagallery view=category|categoryid=10|detail=3|displaydetail=1|displaydescription=1|descriptionheight=200|displaybuttons=1|imageshadow=shadow1}
the page is shown according to the used code.

Maybe I should mention, that I use the "Ninja Shadowbox"-plugin on my site too. I have tried to deactivate this plugin, without any consequences for the phocagallery. I also tried to use the YOOeffects plugin as a replacement for the Ninja Shadowbox. But this was not solving the problem with the phocagallery plugin.

The reason, why I want to use the JAK Lightbox, is the possibility to show the descriptions for the detail-pictures. As I have rather long descriptions for some photos, the parameter for the height of the description in the JAK Lightbox is very convenient.

If of any interest, you can have a look at the gallery here:
http://dev.arbejdermuseet.dk/index.php? ... Itemid=519

When I make a new menu-entry which links to the categories of my gallery, I have no problem to use the JAK Lightbox as the way to show the details.
You may take a look here:
http://dev.arbejdermuseet.dk/index.php? ... Itemid=518
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How many instances of the Phoca Gallery Plugin?

Post by Jan »

Hi, hmmm, maybe some limit in JAK library (but no experiences) :idea: maybe try to check the name of the images and description, if it does not include bad characters (should be protected but you should see, maybe you will get some info ???)

Jan
If you find Phoca extensions useful, please support the project
Post Reply