Feature #41134
Render Content Element Image Title
0%
Description
Hi!
We need to show who has the copyright on each image in the slider.
Therefore we would like to use the title Tag from the image of the Content Element.
Until now the title of the Content Element is rendered as the title tag of the image.
I could not find an option like:
plugin.t3s_jslidernews.linkTitleField = title
How can I do this...
Thanks,
Thomas
Updated by Helmut Hackbarth over 8 years ago
Hi Thomas,
if dam is loaded, you can use the marker ###DAM_COPYRIGHT### in the html-template.
This should be the best solution.
Best Regards
Helmut
Updated by Thomas Hirt over 8 years ago
No, DAM isn't loaded.
I think of changing the code in class.tx_t3sjslidernews_pi1.php:
old line 451:
$linkConf['title'] = $record['header'];
new line 451:
$linkConf['title'] = $record['titleText'];
But then it is hard coded... sad :(
Maybe there could be an option like
plugin.t3s_jslidernews.linkTitleField = title
in the future.
Thanks,
Thomas
Updated by Helmut Hackbarth over 8 years ago
... you should use the current version (4.0.1)!
When a titleText is given, this titleText will be used.
If no titleText is given, the title or header is used!
Regrads
Helmut