Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Paragraphs Gridstack

No security coverage Under active development 2 sites

Part of the Paragraphs ecosystem · 89 projects

This module allows you to create and arrange responsive, multi-column dashboards using a drag-and-drop interface. It integrates with the GridstackJS library to provide a user-friendly layout experience for your content.

Paragraph Gridstack - provides a new paragraphs behavior plugin for dashboard layout and creation. Making a drag-and-drop, the multi-column responsive dashboard has never been more straightforward.

This module uses the GridstackJS library. Inspired by no-longer maintained gridster, built with love. Check http://gridstackjs.com and these demos.

Module and dependencies installation:

The composer way #1

Run composer require wikimedia/composer-merge-plugin

Update the root composer.json file. For example:

    "extra": {
        "merge-plugin": {
            "include": [
                "web/modules/contrib/paragraphs_gridstack/composer.libraries.json"
            ]
        }
    }

Run composer require drupal/paragraphs_gridstack gridstack/gridstack, and the GridstackJS library will automatically be installed in the libraries folder.

The composer way #2

Add a custom package to the root composer.json file. Its repository key looks like the following.

    "repositories": [
        {
            "type": "composer",
            "url": "https://packages.drupal.org/8"
        },
        {
            "type": "package",
            "package": {
                "name": "gridstack/gridstack",
                "version": "8.2.1",
                "type": "drupal-library",
                "dist": {
                    "url": "https://registry.npmjs.org/gridstack/-/gridstack-8.2.1.tgz",
                    "type": "tar"
                }
            }
        }
    ]

Run composer require drupal/paragraphs_gridstack gridstack/gridstack, and the GridstackJS library will be installed in the libraries folder automatically.

The composer way #3

Run composer require oomphinc/composer-installers-extender, to install an additional package allowing you to install Gridstack.JS as npm-asset from asset-packagist.org.

Update your composer.json file:

    "repositories": [
        {
            "type": "composer",
            "url": "https://packages.drupal.org/8"
        },
        {
            "type": "composer",
            "url": "https://asset-packagist.org"
        }
    ],

Set the new repository for the composer to download npm-asset packages.

    "extra": {
        "installer-types": ["bower-asset", "npm-asset"],
        "drupal-scaffold": {
            ...
        },
        "installer-paths": {
            "web/core": [
                "type:drupal-core"
            ],
            "web/libraries/{$name}": [
                "type:drupal-library",
                "type:bower-asset",
                "type:npm-asset"
            ],
            ...
        },
    },

Update the extra settings to define new installers types and configure them as library assets.

Run composer require drupal/paragraphs_gridstack npm-asset/gridstack:8.2.1, to install an additional package allowing you to install Gridstack.JS as npm-asset from asset-packagist.org.

πŸ‡ΊπŸ‡¦

This module is maintained by Ukrainian developers.
Please consider supporting Ukraine in a fight for their freedom and safety of Europe.

Ask your assistant about Paragraphs Gridstack

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
May 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0-alpha6 Pre-release 9–10 Feb 10, 2024
1.0.0-alpha5 Pre-release 9–10 Jun 24, 2023
1.0.0-alpha4 Pre-release 8–10 Jun 2, 2023
1.0.0-alpha3 Pre-release 8–10 May 29, 2023
1.0.0-alpha2 Pre-release 8–10 May 20, 2023