NG Lightbox

Categories

Component ID

2421953

Component name

NG Lightbox

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

10771

Component created

Component changed

Component body

What does this module do?

  1. Lightbox any Drupal page such as the login page or comment reply.
  2. Works with forms out of the box, including webforms, node edit forms and more.
  3. Lightweight, only 1.2kbs in D7. D8 uses cores modal.
  4. Default responsive theme for the lightbox that can be customised.

Drupal 8

The Drupal 8 version is functional and works with Drupal Core's dialog and model implementations. You can also provide additional renderers for NG Lightbox such as Colorbox which is provided through colorbox_load

Drupal 7

This module offers a lightweight (1.2KB) responsive lightbox for Drupal pages. It differs from many of the other solutions in that it handles Drupal forms and is super simple to configure via the admin or simply adding a CSS class to any anchor.

Usage

  1. Configure the lightbox on any path running through theme_link() from /admin/config/media/ng-lightbox
  2. Or, simply add the "ng-lightbox" class to any link to enable the lightbox. (D7 only)