You are here

INSTALL.txt in Masonry API 8

Same filename and directory in other branches
  1. 7.3 INSTALL.txt
Requirements
============

To work with the 4.x version of masonry,
This project requires two third party libraries to be placed in your
/libraries directory.
Both are provided by David DeSandro desandro.com

The items on the Status report page ( /admin/reports/status )
will indicate if they are available and installed on your system correctly.

Composer dependencies installation
===================================

1- Install the module itself
  composer require drupal/masonry

2- Install wikimedia/composer-merge-plugin :
  composer require wikimedia/composer-merge-plugin

3- Edit your "merge-plugin" section under "extra" in your *root* composer.json so it looks like :
  "extra": {
    "merge-plugin": {
      "include": [
        "modules/contrib/masonry/composer.libraries.json"
      ],

Beware to change the path to your contrib module folder if under web or docroot for instance

3- Run a locked update:
  composer update --lock


Manual dependencies installation
===================================

Module
-------

Download and unzip masonry module from https://www.drupal.org/project/masonry
and place it into /modules/contrib folder.

Masonry
-------

Download and unzip masonry from http://masonry.desandro.com/
and place it into /libraries folder so the following path exists:

    /libraries/masonry/dist/masonry.pkgd.min.js

ImagesLoaded
------------

Download and unzip imagesloaded from http://imagesloaded.desandro.com/
and place it into /libraries folder so the following path exists:

    /libraries/imagesloaded/imagesloaded.pkgd.min.js

File

INSTALL.txt
View source
  1. Requirements
  2. ============
  3. To work with the 4.x version of masonry,
  4. This project requires two third party libraries to be placed in your
  5. /libraries directory.
  6. Both are provided by David DeSandro desandro.com
  7. The items on the Status report page ( /admin/reports/status )
  8. will indicate if they are available and installed on your system correctly.
  9. Composer dependencies installation
  10. ===================================
  11. 1- Install the module itself
  12. composer require drupal/masonry
  13. 2- Install wikimedia/composer-merge-plugin :
  14. composer require wikimedia/composer-merge-plugin
  15. 3- Edit your "merge-plugin" section under "extra" in your *root* composer.json so it looks like :
  16. "extra": {
  17. "merge-plugin": {
  18. "include": [
  19. "modules/contrib/masonry/composer.libraries.json"
  20. ],
  21. Beware to change the path to your contrib module folder if under web or docroot for instance
  22. 3- Run a locked update:
  23. composer update --lock
  24. Manual dependencies installation
  25. ===================================
  26. Module
  27. -------
  28. Download and unzip masonry module from https://www.drupal.org/project/masonry
  29. and place it into /modules/contrib folder.
  30. Masonry
  31. -------
  32. Download and unzip masonry from http://masonry.desandro.com/
  33. and place it into /libraries folder so the following path exists:
  34. /libraries/masonry/dist/masonry.pkgd.min.js
  35. ImagesLoaded
  36. ------------
  37. Download and unzip imagesloaded from http://imagesloaded.desandro.com/
  38. and place it into /libraries folder so the following path exists:
  39. /libraries/imagesloaded/imagesloaded.pkgd.min.js