Settings in detail view (photo description / detail window) are not applied

Phoca Gallery - image gallery extension
ngc
Phoca Member
Phoca Member
Posts: 16
Joined: 05 Nov 2023, 12:05

Settings in detail view (photo description / detail window) are not applied

Post by ngc »

Dear all,
[phoca gallery component 4.5.5 , phoca gallery plugin 4.5.4, phoca button plugin 4.5.2, Joomla 4.4.0]
we migrated a Joomla 3 webpage to Joomla 4, together with Phoca Gallery Component, Phoca Gallery Plugin and Phoca Gallery Button Plugin.

After migration from J3 to J4 I uninstalled the Phoca Gallery component (leaving the phoca gallery button and phoca gallery plugins as they were), then installed the component again and updated the databases according to https://www.phoca.cz/documentation/86-j ... o-joomla-4. Then I uninstalled the two plugins and tried to reinstall them again directly in Joomla (install from web catalogue), which first failed because of the Manifest file could not be found in both cases. I solved that problem by uploading the zip files (upload packet files).
sreenshot: https://herpetofauna.at/tmp/phocaforum/ ... ns_erw.png


So much about the history, now the actual problem:
The settings I make under "Detail View" are not getting applied. I want to change the detail window and make the discriptions visible, but whatever changes I make, they never get applied on the gallery.

screenshot: https://herpetofauna.at/tmp/phocaforum/ ... ttings.png

The phoca code in the article is following:
{phocagallery view=category|categoryid=142|limitstart=1|limitcount=0|detail=5|highslidedescription=2|type=1|imageordering=1|paddingmosaic=4}
(but also any other code I use with the button plugin doesn't change the problem.

So how can I make the descriptions visible and change the detail window?

The galleries are here:
https://herpetofauna.eu/index.php/reise ... -rica-2019

Many thanks
Gerald
christine
Phoca Hero
Phoca Hero
Posts: 2740
Joined: 28 Nov 2010, 17:20

Re: Settings in detail view (photo description / detail window) are not applied

Post by christine »

Hallo Gerald,

Willkommen im Forum. Wir können in Deutsch weiter schreiben :-)

a) Habe gesehen, dass Du beide themes aktiviert hast.
Also im Backend > Style bitte entweder theme_standard.css oder theme_simple.css aktivieren.
Ist unterschiedliche View in der Komponente.

b) zur Beschreibung: Habe es auf einer Testseite ausprobiert. Einstweilen aber nur in der Komponente, da Du wahrscheinlich den Eintrag im Plugin ändern wirst müssen. Außerdem gibt es im Plugin nicht mehr so viele Parameter wie früher.
Kannst ja dann ausprobieren.

c) ich sehe, dass Du Detail View "Magnific" eingeschaltet hast. Habe ich daher ausprobiert.
Folgendes ist jetzt zur Info an Jan (werde ich weiterleiten):

@Jan:
Detail Window: Magnific
Display Description In Detail View > Show (Standard)

Error reporting on:
Deprecated: strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /example.org/administrator/components/com_phocagallery/libraries/phocagallery/image/imagefront.php on line 1230
---------------------
d) Both: In Detail View: photo swipe = it works. Da kann ich eine zuvor eingegebene Beschreibung sehen. (Komponente).

Also probiere mal a) und d)

Liebe Grüße
Christine
ngc
Phoca Member
Phoca Member
Posts: 16
Joined: 05 Nov 2023, 12:05

Re: Settings in detail view (photo description / detail window) are not applied

Post by ngc »

Hallo Christine,

vielen Dank für deine rasche Antwort. Ich habe nun die theme_standard.css unter "Published" deaktiviert:
https://herpetofauna.at/tmp/phocaforum/phoca_css.png
Leider keine Änderung der beiden Thematiken.
Eine Änderung auf Photo Swipe (oder anderes) unter Optionen -> Detail View -> Detail Window hat keine Auswirkung, da die Einstellung zwar als gespeichert dargestellt wird, aber das aufs Frontend/den (popup-)Viewer keine Auswirkungen hat.
Muss ich vielleicht irgendeinen Cache jedes Mal leeren?

LG
Gerald

for english readers:
Thank you very much for your quick reply. I have now deactivated the theme_standard.css under "Published":
https://herpetofauna.at/tmp/phocaforum/phoca_css.png
Unfortunately no change to both issues.
A change to Photo Swipe (or other) under Options -> Detail View -> Detail Window has no effect, as the setting is displayed as saved, but this has no effect on the frontend/the (popup-)viewer.
Do I perhaps have to clear a cache every time?
christine
Phoca Hero
Phoca Hero
Posts: 2740
Joined: 28 Nov 2010, 17:20

Re: Settings in detail view (photo description / detail window) are not applied

Post by christine »

Hallo Gerald,

ich hoffe wir meinen die "gleiche" Beschreibung. Screenshots in english.

Ich nehme eine Bild, gebe dort eine Beschreibung ein (bei mir: Beschreibung 2):

Image

Erfolg:

Image

Das das ganze im Artikel ist (Plugin) den Code noch abändern.

Liebe Grüße
Christine
ngc
Phoca Member
Phoca Member
Posts: 16
Joined: 05 Nov 2023, 12:05

Re: Settings in detail view (photo description / detail window) are not applied

Post by ngc »

Hallo,

Genau, diese Beschreibung meine ich (Phoca Gallery -> Images -> Click on image title -> Description)
screenshot: https://www.herpetofauna.at/tmp/phocafo ... iption.png
(Kreis Nummer 2 am Screenshot)

Ich habe im Code des Artikels direkt über den alten Code folgenden über das Button-Plugin eingefügt:
{phocagallery view=category|categoryid=141|limitstart=1|limitcount=0}
Auch das löst das Problem leider nicht.


Danke & LG
Gerald
christine
Phoca Hero
Phoca Hero
Posts: 2740
Joined: 28 Nov 2010, 17:20

Re: Settings in detail view (photo description / detail window) are not applied

Post by christine »

Hallo Gerald,

Ja, genau. Also in der Komponente funktioniert es. Nicht mit Magnific, sondern Photo swipe - siehe oben Punkte c) & d)

Vermute daher (wie oben in Punkt b) Code im Plugin.
https://www.reisefotografien.eu/phoca-b ... n-anzeigen

Viele Parameter gibt es ab J 4 nicht mehr. U.a. denke ich: highslidedescription=2
Würde es nur mit: description=1 probieren.

Liebe Grüße
Christine
christine
Phoca Hero
Phoca Hero
Posts: 2740
Joined: 28 Nov 2010, 17:20

Re: Settings in detail view (photo description / detail window) are not applied

Post by christine »

Hallo Gerald,
ngc wrote: 05 Nov 2023, 19:39 Ich habe im Code des Artikels direkt über den alten Code folgenden über das Button-Plugin eingefügt:
{phocagallery view=category|categoryid=141|limitstart=1|limitcount=0}
Fehlt da nicht?
|displaydescription=1

Liebe Grüße
Christine
ngc
Phoca Member
Phoca Member
Posts: 16
Joined: 05 Nov 2023, 12:05

Re: Settings in detail view (photo description / detail window) are not applied

Post by ngc »

Hallo Christine,
vielen Dank für die Anmerkung, das habe ich hinzugefügt (der Code sieht nun wie untenstehend aus), leider bringt das ebenfalls keinen Erfolg :-/
{phocagallery view=category|categoryid=141|limitstart=1|limitcount=0|displaydescription=1}
LG
Gerald
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47916
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Settings in detail view (photo description / detail window) are not applied

Post by Jan »

Hallo,

einige Parameters sind jetzt in Plugin-einstellungen - Siehe: Administration - Plugins - Phoca Gallery - Plugin - Main Options:

Image

Jan
If you find Phoca extensions useful, please support the project
christine
Phoca Hero
Phoca Hero
Posts: 2740
Joined: 28 Nov 2010, 17:20

Re: Settings in detail view (photo description / detail window) are not applied

Post by christine »

Hallo Gerald,

das mit: displaydescription=1 (war wohl früher möglich) funktioniert nicht. Hab's auch ausprobiert.
Neu ist: siehe screenshot vom Jan. Funktioniert.

Und natürlich wie ich in vorigen Posts schrieb: Photoswipe.
Wegen Detail Window: Magnific (Meldung) ist Jan informiert. Aber Du bleibst eh auf Photoswipe :-)

Liebe Grüße
Christine
Post Reply