Project

General

Profile

Actions

Feature #62866

open

Add additional features to "lightbox" click enlarge link

Added by Urs Braem over 9 years ago. Updated over 6 years ago.

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.

Actions #1

Updated by Benni Mack over 9 years ago

  • Target version set to 7.2 (Frontend)
Actions #2

Updated by Benni Mack almost 9 years ago

  • Target version changed from 7.2 (Frontend) to 7.4 (Backend)
Actions #3

Updated by Susanne Moog almost 9 years ago

  • Target version changed from 7.4 (Backend) to 7.5
Actions #4

Updated by Benni Mack over 8 years ago

  • Target version changed from 7.5 to 8 LTS
Actions #5

Updated by Riccardo De Contardi about 7 years ago

  • Target version changed from 8 LTS to 9.0
Actions #6

Updated by Susanne Moog over 6 years ago

  • Category changed from Content Rendering to Frontend
Actions #7

Updated by Susanne Moog over 6 years ago

  • Category changed from Frontend to Fluid Styled Content
Actions #8

Updated by Susanne Moog over 6 years ago

  • Target version deleted (9.0)
Actions

Also available in: Atom PDF