Skip to content
This repository was archived by the owner on Mar 19, 2018. It is now read-only.

intelektron/i_p_gallery

Repository files navigation

Gallery paragraph for Droopler

N|Solid

Caution!

This module was replaced by Droptica's d_p_gallery, for Droopler versions >= 8.1.0-alpha3. However it still works and you don't have to update your old galleries.

Installation

  1. Update composer.json

Put this module in the "require" section of your composer.json. Remember to install required Colorbox module and jQuery Colorbox library! I assume you have configured asset-packagist.org and "composer-installers-extender" extension.

"require": {
  "intelektron/i_p_gallery":  "^1.0",
  "drupal/colorbox": "^1.4",
  "npm-asset/jquery-colorbox": "^1.6"
}

In the "repositories" section put:

"repositories": {
  "intelektron-gallery": {
    "type": "git",
    "url":  "git@github.com:intelektron/i_p_gallery.git"
  }
}

Finally add this to "extra" section as first item in "installer-paths":

"extra": {
  "installer-paths": {
    "web/libraries/colorbox": ["npm-asset/jquery-colorbox"]
  }
}
  1. Run composer update.
  2. Include module's scss in droopler_subtheme style.scss file
@import "../../../../modules/contrib/i_p_gallery/scss/i_p_gallery";

Note: Any changes made in this file won't be caught by gulp watch.

  1. Run gulp compile in droopler_subtheme directory
  2. Enable module in Drupal.
  3. Enjoy the new paragraph :-).

About

Droopler gallery

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors