Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
I am about to relaunch a clients website from TTG CE4 to Backlight.
In TTG CE4 a little hack implemented the mailto functionality inside each image caption.
please have a look at the following page:
http://www.koerner-kunst.de/galleries/d … single.php
Below the image you see the mailto named: "Anfragen zum Bild"
This was implemented by changing template_single.php in ttg-be/templates/gallery/final-gallery/
<?php } ?><?php if ($photo->hasMetadata('image_caption')) { ?> <?php echo $photo->getMetadata('image_caption'); ?><?php } ?> <a href="mailto:koerner.kunst.tmp@gmx.de?Subject=Anfragen zum Bild: <?php echo urlencode(ALBUMTITLE)?>&Body=<?php echo urlencode(ALBUMTITLE)?>%0D%0A<?php echo urlencode(CURRENTPAGEURL)?>" target="_blank" title="Anfragen zum Bild"><strong>Anfragen zum Bild</strong></a></p>
Now I am trying to do the same in backlight, but I am stucked.
Any suggestion how to implement the same in backlight?
Thank you very much.
Rolf
Offline
We generally prefer that users not edit the template files, but if you must, the single image view is in /backlight/modules/standard-album/dynamic/views/single.php.
Offline
ok, I understand. Is there a different way to achieve it?
Offline
Try PHPlugins, ttg_single_bottom.
Offline