Bugs in Phocagallery_v4.2.1

Phoca Gallery - image gallery extension
nemmar
Phoca Enthusiast
Phoca Enthusiast
Posts: 63
Joined: 13 Mar 2014, 18:55

Bugs in Phocagallery_v4.2.1

Post by nemmar »

Hi Jan,

There seems to be two bugs in the latest Phoca Gallery extension. I installed these extensions on a testing site:
http://www.nemmar.org/animals-wildlife/ ... ty-neglect

com_phocagallery_v4.2.1.zip
mod_phocagallery_image_v4.2.1.zip
mod_phocagallery_menu_v4.1.0.zip
mod_phocagallery_tree_v4.2.1.zip


1) The first bug is in the Phoca Gallery module link. If you click the photos in the top header Phoca Gallery module of my testing site you will see that it gives the default 404 error with the URL of:

I have the PG module link settings to open those photo links to: Link to Categories View
This PG link setting was working fine prior to the PG v4.2.1 upgrade so it must be a bug in the new PG version.

2) This is a Phoca Gallery bug that existed in the prior PG versions and the latest version PG v4.2.1. You can see this on the same page testing URL in the post. When you mouseover the Article category list column heading sort links, those heading links disappear until you refresh the page. On the testing URL you can see the column heading sort links of Title and Hits.
I had noticed this same problem with the article category list pagination links below the article column list. My template developer was able to give me custom CSS fixes for this disappearing pagination links problem:
Template fix to stop Features Articles container from disappearing on mouseover:
.items-more {clear: both;}

Template fix of pagination "Start Previous Next End" links disappearing on mouse hover:
.pagination ul > li > a {display: inline-block !important;}

Can you tell me if there is a CSS way to fix this problem?
Or can you fix the bugs and release an updated PG extension?

Thanks.
Last edited by nemmar on 01 Dec 2015, 02:00, edited 1 time in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Bugs in Phocagallery_v4.2.1

Post by Jan »

Hi, it seems like the problem with route should be solved by this patch, see:
viewtopic.php?f=13&t=38298#p118819

And let me know.

Thank you, Jan
If you find Phoca extensions useful, please support the project
nemmar
Phoca Enthusiast
Phoca Enthusiast
Posts: 63
Joined: 13 Mar 2014, 18:55

Re: Bugs in Phocagallery_v4.2.1

Post by nemmar »

Hi Jan,

Yes, the updated route.php file fixed the bug in the first problem in my post about the Phoca Gallery module link.

But it doesn't fix the second bug problem listed in my post. Should I move this #2 issue to a separate post since it's a different bug issue?

Thanks.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Bugs in Phocagallery_v4.2.1

Post by Jan »

Hi, on the site I get now 500 error so I cannot test it.

Anyway, can you paste a screenshot to know what you exactly mean with "Article category list column heading sort links"?

I am testing it with standard template and get no such problem :idea:

Jan
If you find Phoca extensions useful, please support the project
nemmar
Phoca Enthusiast
Phoca Enthusiast
Posts: 63
Joined: 13 Mar 2014, 18:55

Re: Bugs in Phocagallery_v4.2.1

Post by nemmar »

Hi Jan,

This is a Phoca Gallery bug that existed in the prior PG versions and the latest version PG v4.2.1. You can see this on my site http://www.nemmar.org/
Here is a sample article category page: http://www.nemmar.org/animals-wildlife/ ... nservation

Here is a screenshot of the page links I am referring to: http://www.nemmar.net/2015-11-26-Articl ... nabled.JPG

When you mouseover the Article category list column heading sort links (Title, Published Date, Hits), those heading links disappear until you refresh the page.
I had noticed this same problem with the article category list pagination links below the article column list. My template developer was able to give me custom CSS fixes for this disappearing pagination links problem:
Template fix to stop Features Articles container from disappearing on mouseover:
.items-more {clear: both;}

Template fix of pagination "Start Previous Next End" links disappearing on mouse hover:
.pagination ul > li > a {display: inline-block !important;}


If I disable the Phoca Gallery module in the page header then this problem does not happen and it's fixed. So it must be a conflict with Phoca Gallery and Joomla or Bootstrap.
Can you tell me if there is a CSS way to fix this problem?
Or can you fix the bugs and release an updated PG extension?

Thanks!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Bugs in Phocagallery_v4.2.1

Post by Jan »

Hi, on this site:
http://www.nemmar.org/animals-wildlife/ ... nservation

the hiding is caused by javascript not by CSS - when you disable javascript on the site, everything is OK, so it seems like this is javascript issue - the module can load some of Joomla! javascript so this can be in conflict.

I have disabled all the CSS files and the problem still occured so this really seems like some javascript issue :idea: (of course the hiding can be done by css rule but it is called by javascript - but not directly - no Phoca Gallery CSS has influence it)

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: Bugs in Phocagallery_v4.2.1

Post by Jan »

What happen, if you switch to standard template (only for test), do you get the same problems?

Jan
If you find Phoca extensions useful, please support the project
nemmar
Phoca Enthusiast
Phoca Enthusiast
Posts: 63
Joined: 13 Mar 2014, 18:55

Re: Bugs in Phocagallery_v4.2.1

Post by nemmar »

Hi Jan,

I tested the site with the ProtoStar template as the default and the heading links do not disappear when I mouseover them.

So does that mean the problem is caused by the Javascript for my site template which is conflicting with Phoca Gallery when the PG module is enabled?

Thanks.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Bugs in Phocagallery_v4.2.1

Post by Jan »

Hi, probably this means: the template loads some javascript which is in conflict with javascript loaded by the Phoca Gallery module. Mostly there is no specific javascript in module but some standard of Joomla! - so probably some standard Joomla! javascript is in conflict with some used in the template - this is why there is no problem with standard template.

I think, this can be some problem related to tooltips but such are not managed by Phoca Gallery image module, so the way could be, the module asks for standard javascript library loaded by joomla which then is in conflict with some used in the template :idea:

Of course, this is only idea as I did't find the place exactly but as this is related to tooltips, I hope, this should be the problem :idea:

Jan
If you find Phoca extensions useful, please support the project
nemmar
Phoca Enthusiast
Phoca Enthusiast
Posts: 63
Joined: 13 Mar 2014, 18:55

Re: Bugs in Phocagallery_v4.2.1

Post by nemmar »

Hi Jan,

I asked on the template support forum and someone recommended I install the JQuery Easy extension:
http://extensions.joomla.org/extension/jquery-easy

Do you know if Phoca Gallery has any problems when JQuery Easy is installed? I don't know anything about JQeury and Mootools but the extension description says it eliminates conflicts with extensions that load them. I don't know if Phoca Gallery uses JQuery and Mootools.

Thanks.
Post Reply