This module is deprecated. It works only with Droopler 1.2. Since version 1.3 it is bundled into Droopler core.
For 8.1.0-alpha1 and alpha2 releases of Droopler please use this unofficial repository.
- 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": {
"droptica/d_p_gallery": "^1.0",
"drupal/colorbox": "^1.4",
"npm-asset/jquery-colorbox": "^1.6"
}
In the "repositories" section put:
"repositories": {
"droopler-gallery": {
"type": "git",
"url": "[email protected]:droptica/d_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"]
}
}
- Run composer update.
- Include module's scss in droopler_subtheme style.scss file
@import "../../../../modules/contrib/d_p_gallery/scss/d_p_gallery";
Note: Any changes made in this file won't be caught by gulp watch.
- Run gulp compile in droopler_subtheme directory
- Enable module in Drupal.
- Enjoy the new paragraph :-).