DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
Lightbox¶
For images¶
To use the lightbox, include static “Magnific Popup (jh_magnificpopup)” to your template.
Attention: This Extension uses ‘page.jsFooterInline’ in TypoScript. If you use an other extension that uses this command (like EXT:perfectlightbox or EXT:t3colorbox) make sure you include the static template of ‘Magnific Popup (jh_magnificpopup)’ at last.If you use EXT:yag_theme_magnificpopup the order of these both statics does not matter.
Now you may customize your extension with the Constant Editor.
For whole page¶
(Available since version 0.3.0)
If you want to open all images of a page in one lightbox add the following TypoScript to your template-setup:
page.jsFooterInline.109.variables.selector >
page.jsFooterInline.109.variables.selector = TEXT
page.jsFooterInline.109.variables.selector.value = body