Detail View difference between 2 languages

Phoca Gallery - image gallery extension
webcase
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 05 May 2021, 16:17

Detail View difference between 2 languages

Post 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?

Tags:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Detail View difference between 2 languages

Post 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
If you find Phoca extensions useful, please support the project
webcase
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 05 May 2021, 16:17

Re: Detail View difference between 2 languages

Post 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?
christine
Phoca Hero
Phoca Hero
Posts: 2710
Joined: 28 Nov 2010, 17:20

Re: Detail View difference between 2 languages

Post 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
webcase
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 05 May 2021, 16:17

Re: Detail View difference between 2 languages

Post 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
christine
Phoca Hero
Phoca Hero
Posts: 2710
Joined: 28 Nov 2010, 17:20

Re: Detail View difference between 2 languages

Post 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
webcase
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 05 May 2021, 16:17

Re: Detail View difference between 2 languages

Post by webcase »

Thanks Christine,

I purged the css cache for the Dutch template style and now I do also see the icons there!
christine
Phoca Hero
Phoca Hero
Posts: 2710
Joined: 28 Nov 2010, 17:20

Re: Detail View difference between 2 languages

Post by christine »

Hi Mauric,

That's fine. Thanks for your feedback.

Kind regards
Christine
Post Reply