Page 1 of 1

Detail View difference between 2 languages

Posted: 05 May 2021, 16:37
by webcase
Hi!

We have a website in 2 languages.
We have set up Phoca Gallery categories and images with language setting 'All', so we can point to the images from both languages.
In the menu of both languages we have an item type 'Phoca Gallery ยป List Of Categories (Categories View)' that shows all subcategories from a main category. Now, when we visit the English part, open a category with multiple images and click on an individual image to open it. Then, when hovering the image we see a black control bar at the top of the images:
https://prntscr.com/12j210u

However, when approaching the images from the Dutch language, the control bar on top of the individual images is missing:
https://prntscr.com/12j21ut

Has anyone come across this?
What can I do to make the control bar visible from the Dutch approach also?

Re: Detail View difference between 2 languages

Posted: 07 May 2021, 11:45
by Jan
Hi, hmmm hard to say, there can be some missing info in javascript for the panel. :idea:

But, anyway, try to switch to some modern popup window method - some responsive like photoswipe, etc. Highslide JS will be removed in Joomla! 4 and for not it is not recommended to use it because it is not responsive.


Jan

Re: Detail View difference between 2 languages

Posted: 10 May 2021, 08:39
by webcase
Hi Jan,

Thanks. I switched to the photoswipe method. Same problem occurs. The icons are missing on the dutch part of the site. In fact they are present (I can inspect them in the console) but are invisible to visitors.

The default language of the site is English.
Do I have to copy some code to the Dutch template style maybe?

Re: Detail View difference between 2 languages

Posted: 12 May 2021, 12:10
by christine
Hi,

Don't know the solution, but I see following:
Classes:

Code: Select all

<div class="pswp__top-bar">....

Code: Select all

<button class="pswp__button pswp__button--arrow--left" title="Previous"></button>...
Detail-View in en (OK):
loaded from: https://....../media/com_phocagallery/css/custom/default.css.

Detail-View in nl: (missing the icons):
/cache/com_templates/templates/newsberg/804a8c5e9c0d6ad4859b45750f5a33e9.css > inside there are all classes etc.

Kind regards
Christine

Re: Detail View difference between 2 languages

Posted: 31 May 2021, 11:06
by webcase
Thanks Christine,

Could this be a cache related issue then?
I checked but can not find cache settings for Phoca.

Kind regards,
Maurice

Re: Detail View difference between 2 languages

Posted: 01 Jun 2021, 12:32
by christine
Hi Maurice,

Yes, it seems so, because: .../cache/com_templates/templates/newsberg/804a8c5e9c0d6ad4859b45750f5a33e9.css gives error 404
and can't be opened. Try to disable above.

Kind regards
Christine

Re: Detail View difference between 2 languages

Posted: 01 Jun 2021, 13:32
by webcase
Thanks Christine,

I purged the css cache for the Dutch template style and now I do also see the icons there!

Re: Detail View difference between 2 languages

Posted: 01 Jun 2021, 15:29
by christine
Hi Mauric,

That's fine. Thanks for your feedback.

Kind regards
Christine