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.
For Administrators¶
Install the latest version of "sd_lightbox" from the TER¶
- Switch to the module "Extensions"
- Select "Get Extensions"
- Search for "sd_lightbox"
- Download and install "sd_lightbox"
Include static template¶
In your root template add the static template of "sd_lightbox"
Configuration¶
All configurations of "sd_lightbox" can be done via the "Constant Editor"
Add class to links¶
Finally you just need to add the class "sd-lightbox" to your lightbox links. An Example configuration for "fluid_styled_content" is the following:
- ::
- styles {
- content {
- textmedia {
- linkWrap {
- lightboxCssClass = sd-lightbox lightboxRelAttribute = sd-lightbox[{field:uid}] lightboxEnabled = 1
}
}
}
}