Actions
Feature #62866
closedAdd additional features to "lightbox" click enlarge link
Status:
Closed
Priority:
Won't have this time
Assignee:
-
Category:
Fluid Styled Content
Target version:
-
Start date:
2014-11-11
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
The "Lightbox" settings in css_styled_content are very helpful.
What I've been missing was the possibility to add e.g. the image's caption (file:current:description) to the lightbox link.
I added it as such:
tt_content.image.20.1.imageLinkWrap.linkParams.ATagParams.dataWrap = class="{$styles.content.imgtext.linkWrap.lightboxCssClass}" rel="{$styles.content.imgtext.linkWrap.lightboxRelAttribute}" title="{file:current:description}"
Now this could be either made a setting (lighbox link title), or simply combine all that into one constant, e.g.
class="lightbox" rel="lightbox[{field:uid}]" title="{file:current:description}"
so it can be edited directly, to avoid bloated constant lists.
Actions