Skip to content

Instantly share code, notes, and snippets.

@kitzberger
Last active November 22, 2017 13:41
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save kitzberger/acfc630c0ea9a430c875af3fbe79a724 to your computer and use it in GitHub Desktop.
TYPO3 8.7: Workaround for broken rel attribute of lightbox links
# Workaround for broken rel attribute of lightbox links in TYPO3 8.7
# See https://forge.typo3.org/issues/72779
lib.contentElement.variables.10 = LOAD_REGISTER
lib.contentElement.variables.10.content_uid = TEXT
lib.contentElement.variables.10.content_uid.field = uid
lib.contentElement.settings.media.popup.linkParams.ATagParams.dataWrap = class="{$styles.content.textmedia.linkWrap.lightboxCssClass}" rel="{$styles.content.textmedia.linkWrap.lightboxRelAttribute}[{register:content_uid}]"
lib.contentElement.stdWrap.append = RESTORE_REGISTER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment