Project

General

Profile

Actions

Bug #72186

closed

Provide opportunity to use file reference data in ClickEnlargeViewHelper

Added by Thomas Löffler almost 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Fluid Styled Content
Start date:
2015-12-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

If you are overriding the whole TS configuration under

lib.fluidContent.settings.media.popup

to use your own lightbox for click-enlarging, there is no possibility to use file reference data like e.g. title and caption in the TypoScript.
You need to set a file or file reference into the content object renderer.

Example for lightbox:

lib.fluidContent.settings.media.popup >
lib.fluidContent.settings.media.popup {
  typolink {
    parameter {
      cObject = IMG_RESOURCE
      cObject.file {
        import.data = TSFE:lastImageInfo|origFile
        width = 1140m
        height = 600m
      }
      override.field = image_link
      override.listNum.stdWrap.data = register:IMAGE_NUM_CURRENT
      override.if.isTrue.field = image_link
    }
    title.data = file:current:title
    altText.data = file:current:alternative
    ATagParams = data-toggle="lightbox" data-title="{file:current:title}" data-footer="{file:current:description}" 
    ATagParams.insertData = 1
  }
}
Actions #1

Updated by Gerrit Code Review almost 9 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45223

Actions #2

Updated by Gerrit Code Review almost 9 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45223

Actions #3

Updated by Gerrit Code Review almost 9 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45223

Actions #4

Updated by Gerrit Code Review almost 9 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45223

Actions #5

Updated by Gerrit Code Review almost 9 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45223

Actions #6

Updated by Jigal van Hemert almost 9 years ago

  • Description updated (diff)
Actions #7

Updated by Gerrit Code Review almost 9 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45223

Actions #8

Updated by Markus Klein almost 9 years ago

  • Tracker changed from Feature to Bug
  • TYPO3 Version set to 7
  • Is Regression set to No
Actions #9

Updated by Markus Klein almost 9 years ago

  • Target version set to Candidate for patchlevel
Actions #10

Updated by Thomas Löffler almost 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #11

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF