Kategorietitel und Bildtitel als Link / category title and image title as link

Phoca Gallery - image gallery extension
pfump
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 14 Dec 2017, 11:09

Kategorietitel und Bildtitel als Link / category title and image title as link

Post by pfump »

Hallo,

erstmal vielen Dank für diese großartige Erweiterung.

Jetzt zu meinem Problem. Ich möchte den Kategorietitel bzw. den Bildtitel ebenfalls verlinken.
Wenn ich auf das Bild klicke geht ja die Slideshow auf. Wenn man auf das Kategorie-Icon bzw. Bild klickt die Unterkategorie.

Ich möchte den Titel auch verlinken. In den Einstellungen habe ich diese Einstellung aber nicht gefunden.
Dann habe ich ein override der Datei default_images.php erstellt. Aber diese wird nicht gefunden/benutzt.

Hat jemand eine Lösung für diese Problem?

------------------------------------------------------------------------------------------------

Hello,

first of all many thanks for this great extension.

Now to my problem. I want to link the category title or the image title as well.
When I click on the image the slideshow opens. When you click on the category icon or image the subcategory.

I want to link the title as well. But in the settings I did not find this setting.
Then I created an override of the default_images.php file. But this is not found/used.

Does anyone have a solution for this problem?

Translated with www.DeepL.com/Translator (free version)

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

Re: Kategorietitel und Bildtitel als Link / category title and image title as link

Post by Jan »

Hallo, was heisst "Aber diese wird nicht gefunden/benutzt"?

Override wird nicht benutzt?

Wenn ja, teste mal, ob du z.B. nicht Cache verwendest, teste ob die Datei in richtigem Verzeichnis in deinem Template ist, usw. :idea:

Jan
If you find Phoca extensions useful, please support the project
pfump
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 14 Dec 2017, 11:09

Re: Kategorietitel und Bildtitel als Link / category title and image title as link

Post by pfump »

Hallo,

ja. das Override wird nicht benutzt. Ich habe die Datei default_images.php in folgendem Ordner erstellt:

templates\name\html\com_phocagallery\views\category\tmpl\default_images.php

Leider wird die Datei nicht benutzt. Gibt es sonst noch eine Möglichkeit die Titel zu verlinken? Als Einstellung direkt in der Komponente zum Beispiel?
Oder ist einfach nur der Pfad falsch?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Kategorietitel und Bildtitel als Link / category title and image title as link

Post by Jan »

templates\name\html\com_phocagallery\views\category\tmpl\default_images.php

sollte:

templates\name\html\com_phocagallery\category\default_images.php

sein (kein "views", und kein "tmpl").

Jan
If you find Phoca extensions useful, please support the project
pfump
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 14 Dec 2017, 11:09

Re: Kategorietitel und Bildtitel als Link / category title and image title as link

Post by pfump »

Ganau das war der richtige Pfad. Vielen Dank dafür :)

Vielleicht kann man das in einer nächsten Version der Phocagallery mit einplanen.
Also das man die Bildtitel/Kategorietitel im Kontrollzentrum verlinken kann.

Vielen Dank für die großartige Hilfe!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Kategorietitel und Bildtitel als Link / category title and image title as link

Post by Jan »

Added to feature request list.

Jan
If you find Phoca extensions useful, please support the project
Post Reply