Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Paragraphs Gridstack

No security coverage

Part of the Paragraphs ecosystem · 63 projects

View on drupal.org

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.

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 Release date
1.0.0-alpha6 Pre-release Feb 10, 2024
1.0.0-alpha5 Pre-release Jun 24, 2023
1.0.0-alpha4 Pre-release Jun 2, 2023
1.0.0-alpha3 Pre-release May 29, 2023
1.0.0-alpha2 Pre-release May 20, 2023