🇺🇦

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

A module wrapper integrating Loft Data Grids with Drupal.

You probably only need this module if another module requires it.

Installation

The latest versions of Loft Data Grids must be installed via Composer in order to get the required libraries.

Versions 8.x

  1. In a shell window, go to the root of Drupal.
  2. If your composer.json file does not already contain a reference to the drupal repository then you must add that next:

    composer config repositories.0 composer https://packages.drupal.org/8
    
    
  3. Now that Composer knows where to find it, require this module (still from the drupal root directory):

    composer require drupal/loft_data_grids
    
  4. Now go to Administer > Site Building > Modules and enable this module, or use drush:

    drush en loft_data_grids
    

Version 7.x-3.x

Because Drupal 7 does not include vendor/autoload.php by default, you must also enable a module such as Composer Autoloader, or provide another solution to solve this. The following instructions are for Composer Autoloader. Skip that part if you have another solution.

  1. In a shell window, go to the root of Drupal.
  2. If your composer.json file does not already contain a reference to the drupal repository then you must add that next:

    composer config repositories.0 composer https://packages.drupal.org/7
    
  3. Now that Composer knows where to find it, require this module (still from the drupal root directory):

    composer require drupal/loft_data_grids
    
  4. Require Composer Autoloader

    composer require drupal/composer_autoloader 
    
  5. Now go to Administer > Site Building > Modules and enable Composer Autoloader and Loft Data Grids.
  6. Visit /admin/reports/status and look for the line showing aklump/loft_data_grids is installed.

Version 7-x.2.x

  1. Download or install with Drush; does not require Composer for installation.
  2. As of 7-x.2.7 the 2.x branch does not provide the XLSX format. You must upgrade to 7.x-3.x if you need that format.

Upgrade From 7.x-2.x to 7.x-3.x

  • Ensure Composer is installed in all environments.
  • Ensure your server is running PHP >= 8.1
  • Upgrade to version 7-x.2.7, if not already done.
  • Follow installation instructions above for 7.x-3.x.
  • You will likely need to use Composer's --with-all-dependencies flag.
  • You should leave Loft Data Grids enabled during the update, therefore you will only need to enable Composer Autoloader rather than both modules as instructed above.

Module Updates

To update versions 7.x-3.x and 8.x, use Composer, e.g. the following in a shell:

composer update aklump/loft_data_grids --with-dependencies

Earlier versions can be updated with Drush or by downloading a new version.

Supporting organizations: 
Development

Project information

Releases