Giter Club home page Giter Club logo

contao-lightcase's Introduction

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.

contao-lightcase's People

Contributors

fritzmg avatar netzarbeiter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

swinde seefahrer

contao-lightcase's Issues

Falsche Darstellung in Safari

Hallo Fritz, ich habe am Macbook Air in Safari festgestellt, dass die Darstellung falsch ist. Ich habe den Entwickler auch bereits kontaktiert. Siehe cbopp-art/lightcase#138 In anderen Browsern tritt es nicht auf. Sollen wir das im Forum besprechen?

double-click behavior

Referring to this Post in ContaoCommunity.
Double-Click on prev or next causes the homepage to start
How to avoid this? No Problems in Original Demo.

Rocksolid Slider: es wird die ganze Seite in Lightbox geladen

Hallo,

ich habe es mit Rocksolid Slider ausprobiert und leider wird da die ganze Seite in der Lightbox geladen und gezeigt, obwohl da der Attribut data-lightbox in a-Tag steht. Als Vergleich steht da auch eine Bildergalerie, wo es funktioniert.

Ich vermute, dass ich noch etwas im Script deiner Erweiterung einstellen muss?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.