Skip to content

Contao extension to integrate the Lightcase overlay.

License

Notifications You must be signed in to change notification settings

Seefahrer/contao-lightcase

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contao Lightcase

Contao extension to integrate the Lightcase overlay.

Usage

Simply activate the j_lightcase template in your page layout under jQuery. Do not activate j_colorbox or moo_mediabox as well!

Lightcase will work with all links that use the data-lightbox="…" parameter. Of course you can still initialize via your own JavaScript. Customizing the options works the same way as with the j_colorbox template for example.

Adjust Labels

In order to adjust the translation of the labels within your application (or to create translations for additional languages), create files in the following format:

translations/im_contao_lightcase.<LANGUAGE>.yaml

For example if you want to change the English and German label of the close button:

# translations/im_contao_lightcase.en.yaml
close: Close overlay
# translations/im_contao_lightcase.de.yaml
close: Overlay schließen

See the API documentation for the available labels.

About

Contao extension to integrate the Lightcase overlay.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 56.8%
  • CSS 37.0%
  • PHP 6.2%