Gridstack field

Component ID

2615376

Component name

Gridstack field

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

518

Component created

Component changed

Component body

This module implements Gridstack plugin as field. User can create custom configurable grid layout and display in this grid different nodes. This can help to create "uncommon" landing pages.

In this field we can configure which content types can be added and showed in this field. Than in field settings can be chosen settings for gridstack plugin. After this manipulations users on the site can create pages with themed grid of chosen nodes.

This module uses Backbone and Underscore plugins for creating structure of field and outputing nodes.

Requirements

Instalation and configuration

Drupal 7 version

Firstly need to install Libraries API on your Drupal installation, then for installing module needs to download next libs and put them into related sites/all/libraries directories on the site:

  • Backbone - sites/all/libraries/backbone
  • Underscore - sites/all/libraries/underscore
  • Gridstack plugin js css
    map - sites/all/libraries/gridstack

Options for gridstack plugin can be configured on field settings page admin/structure/types/manage/grid/fields/%field_name

Drupal 8 version

No needs more Backbone and Underscore libraries as they are in core. Also no needs Libraries API. Just need to download Gridstack lib files and put them into related sites/all/libraries/gridstack(folders "al"l, "libraries" and "gridstack" need to be created manually) directory on the site:

Supporting organizations

Module developed on project JYSK