2017 © Pedro Peláez
 

contao-module contao-magnific-popup

Magnific Popup lightbox for Contao

image

fritzmg/contao-magnific-popup

Magnific Popup lightbox for Contao

  • Monday, November 6, 2017
  • by fritzmg
  • Repository
  • 3 Watchers
  • 11 Stars
  • 474 Installations
  • CSS
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 18 % Grown

The README.md

, (*1)

Contao Magnific Popup

Contao extension to integrate the Magnific Popup overlay., (*2)

Usage

Simply activate the j_magnific_popup template in your page layout under jQuery. Do not activate j_colorbox or moo_mediabox as well!, (*3)

The Magnific Popup will work with all links that use the data-lightbox="..." parameter. Of course you can still initialize and manipulate the Magnific Popup via your own JavaScript., (*4)

Customizing

If you want to use your own custom parameters, simply create your own j_magnific_popup template and insert your custom options there. For example, if you want to enable the zoom feature of Magnific Popup:, (*5)

  ContaoMagnificPopup.init({
    // put your custom configuration here
    zoom: { enabled: true }
  });

Refer to the Magnific Popup Documentation for all available parameters., (*6)

Types

By default, the extension defines the type for all Magnific Popup instances as image. You can set any of the types supported by Magnific Popup through several ways:, (*7)

  • through the data-lightbox parameter itself, e.g., (*8)

    <a href="page.html" data-lightbox="iframe">Page</a>
    

    You can still also define a custom grouping name anywhere in the parameter:, (*9)

    <a href="page.html" data-lightbox="iframe group1">Page</a>
    
  • by using your own Magnific Popup initialisation, (*10)

  • by setting the type globally through the options in your own j_magnific_popup template

Additional Parameters

To support some compatibility with the old lightbox parameters of Contao, you can also define the width and height of the iframe popup like so:, (*11)

<a href="page.html" data-lightbox="iframe 800 600">Page</a>

The Versions

06/11 2017

dev-master

9999999-dev http://www.inspiredminds.at

Magnific Popup lightbox for Contao

  Sources   Download

GPL-2.0

The Requires

 

responsive contao popup lightbox overlay magnific

06/03 2017

2.0.1

2.0.1.0 http://www.inspiredminds.at

Magnific Popup lightbox for Contao

  Sources   Download

GPL-2.0

The Requires

 

responsive contao popup lightbox overlay magnific

04/03 2017

2.0.0

2.0.0.0 http://www.inspiredminds.at

Magnific Popup lightbox for Contao

  Sources   Download

GPL-2.0

The Requires

 

responsive contao popup lightbox overlay magnific

09/06 2015

1.1.2

1.1.2.0 http://www.inspiredminds.at

Magnific Popup lightbox for Contao

  Sources   Download

GPL-2.0

The Requires

 

responsive contao popup lightbox overlay magnific

29/10 2014

1.1.1

1.1.1.0 http://www.inspiredminds.at

Magnific Popup lightbox for Contao

  Sources   Download

GPL-2.0

The Requires

 

responsive contao popup lightbox overlay magnific

29/10 2014

1.0.0

1.0.0.0 http://www.inspiredminds.at

Magnific Popup lightbox for Contao

  Sources   Download

GPL-2.0

The Requires

 

responsive contao popup lightbox overlay magnific

29/10 2014

1.1.0

1.1.0.0 http://www.inspiredminds.at

Magnific Popup lightbox for Contao

  Sources   Download

GPL-2.0

The Requires

 

responsive contao popup lightbox overlay magnific