Support

Support is part of Event Gallery Extended.

Please get a subscription if you need support. Feel free to use the ticket system or the contact form for reporting defects or pre-sale questions. Make sure you're logged in in order to be able to create a new ticket.

For general information you can also jump to the manual.

Subscribe now!

#3946 – HTML with link in caption

Posted in ‘Event Gallery Extended’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Tuesday, 20 October 2020 19:22 UTC
stawebnice

Hi Sven,

I would like to add html link to eshop to image caption, but when I do so, it messes everything up (and I checked for unclosed tags).

Does event gallery support html in caption? I was under impression that I used to add links before, but now I am not sure. 

I am enclosing video... here>

https://www.uschovna.cz/zasilka/DX5Z787JM29DZRAP-Z3Z/

 

Please, could you advise how to do it right?

 

Also facebook sharing includes caption, but not title see the attached image>

 

Custom Fields

Event Gallery Version 3.11.16
Joomla Version 3.9.22
URL https://www.kamilamezerova.cz/galerie
PHP Version 7.3
Attachment
facebook-sharing.jpg
Wednesday, 21 October 2020 07:58 UTC
sbluege

Hi, 

This is actually an HTML issue. You can't nest a-tags. The whole image tile is a link. 

I can put this on my list and check what is possible. 

 
Saturday, 24 October 2020 06:48 UTC
sbluege

Facebook: the page which gets shared contains an og:title-tag with the title of the image. Facebooks seems to ignore this. Setting the title-tag of the sharing page might help. You could override components\com_eventgallery\views\singleimage\tmpl\minipage.php and add the line:

<?php $this->document->setTitle(strip_tags($file->getFileTitle()));?>

 I'll add this line in the next release, too.

 

Overlay content: right now the a-tag wraps the whole thumbnail including the overlay content. Wherever you click, you'll open the image page or the lightbox. If I allow links in the image caption, you can't click the overlay anymore. And of course, on mobile this is useless. Would in this case be the tiles-layout a better choice? There the caption is below the image and always visible.

btw... a workaround would like this: <span onclick="...">my fake link</span>

Attachment
24-10-_2020_08-40-04.png
 
Saturday, 31 October 2020 08:17 UTC
sbluege

I hope you're healthy! Do you have any comment on what I wrote above?

 
Saturday, 31 October 2020 12:57 UTC
stawebnice

Hello Sven,

that sounds good! I will try that! Thanks a lot and take care! I overlooked your previous comment in my emails, sorry.