Actions
Feature #62866
openAdd additional features to "lightbox" click enlarge link
Status:
New
Priority:
Could have
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.
Updated by Benni Mack almost 9 years ago
- Target version changed from 7.2 (Frontend) to 7.4 (Backend)
Updated by Susanne Moog almost 9 years ago
- Target version changed from 7.4 (Backend) to 7.5
Updated by Riccardo De Contardi about 7 years ago
- Target version changed from 8 LTS to 9.0
Updated by Susanne Moog over 6 years ago
- Category changed from Content Rendering to Frontend
Updated by Susanne Moog over 6 years ago
- Category changed from Frontend to Fluid Styled Content
Actions