koken-plugin-photoswipe icon indicating copy to clipboard operation
koken-plugin-photoswipe copied to clipboard

Some problems with Titel & Captions, Rating & Cart Plugin

Open RedZodiak opened this issue 7 years ago • 2 comments

Hello! Unfortunately I am very bad in English, this is a Google translation - I also add this text in german! I use your great plugin on www.artofpix.at and am so satisfied - except for a few little things I just can not get over there ... I use the CSM Koken and the theme Axis2 everything on the latest version. My Axis2 theme is modified, I've made changes to some templates.

My problems:

  • Display title and caption in the lightbox Photoswipe does not work. In the plugin setup I activated the function. I have also tried several templates to the HTML code to complete as specified, but it is always displayed only the title, but not the caption ... I do not know where I have to insert which code!

  • In some cases, when many photos (+100) are in an album, the order of the photos in the lightbox is not correct. Is this a bug?

  • I've installed the official rating plugin and I'm trying to integrate it into Photoswipe. I get the heart displayed, but without the already existing rating of the photos and I can not mark a photo with a heart in the Photoswipe lightbox view. How can I solve this?

  • I have the official cart plugin installed - is it possible that the cart button is also displayed in the Photoswipe lightbox view? If so, what do I have to do?

I would like to show in the Photoswipe lightbox the Content_ID of the individual photos! For example, with title and caption next to it! Where do I have to insert the code and is that possible?

For a few tips and help, I would be very grateful! lg, Thomas


Hallo! Leider bin ich sehr schlecht in Englisch, dies ist eine Google Übersetzung - ich füge diesen text auch in deutsch hinzu! Ich verwende dein tolles Plugin auf www.artofpix.at und bin soweit zufrieden - bis auf ein paar Kleinigkeiten die ich einfach nicht hin bekomme... Ich verwende das CSM Koken und das Theme Axis2 alles auf der neuesten Version. Mein Axis2 Theme ist modifiziert, ich habe Änderungen an einigen Templates vorgenommen.

Meine Probleme:

  • Anzeige von Titel und Caption in der Lightbox Photoswipe funktioniert nicht. Im Plugin Setup habe ich die Funktion aktiviert. Ich habe auch verschiedene Templates versucht um den HTML-Code zu ergänzen wie angegeben, aber es wird immer nur der Titel angezeigt, nicht aber die caption... Ich weiss nicht wo ich welchen Code einfügen muss!

  • In manchen Fällen, wenn viele Fotos (+100) in einem Album sind, stimmt die Reihenfolge der Fotos in der Lightbox nicht. Ist das ein Bug?

  • Ich habe das offizielle Rating Plugin installiert, und versucht es in Photoswipe zu integrieren. Ich bekomme das Herz angezeigt, aber ohne bereits vorhandenen rating der Fotos und ich kann auch kein Foto mit Herz markieren in der Photoswipe Lightbox Ansicht. Wie kann ich das lösen?

  • Ich habe das offizielle Cart Plugin installiert - besteht die Möglichkeit das ich das der Cart-Button auch in der Photoswipe Lightbox Ansicht angezeigt wird? Wenn ja, was muss ich tun?

Ich würde gerne in der Photoswipe Lightbox die Content_ID der einzelenen Fotos anzeigen lassen! Zum Beispiel bei Titel und Caption daneben! Wo muss ich dazu den Code einfügen und ist das möglich?

Für ein paar Tipps und Hilfe wäre ich sehr dankbar! lg, Thomas

RedZodiak avatar Dec 11 '17 09:12 RedZodiak

My written german is too weak, so you will need to bear with english. 1/ I didn't find any picture with caption in your site. The plugin is looking for an html element with a class of "item-caption" inside the image div

2/ V2 themes are using javascript to re-order the pictures. The plugin uses the ordering as seen in the DOM (it just parses the resulting HTML)

3/ The rating values are taken from the DOM. Probably they are not where they are expected to be. As for being able to increase the rating. Not sure this is possible, since the plugin has no access to koken data directly, only to the resulting DOM. I will have a deeper look at the display, perhaps it's related

4/ No. But I am happy to accept a pull request

DanielMuller avatar Feb 06 '18 01:02 DanielMuller

The rating issue should be addressed with 0318e53e4c351525996f1c33cfac2d0907dec3b0 and v1.7.10

DanielMuller avatar Feb 06 '18 16:02 DanielMuller