🇺🇦 |
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
- In a shell window, go to the root of Drupal.
-
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
-
Now that Composer knows where to find it, require this module (still from the drupal root directory):
composer require drupal/loft_data_grids
-
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.
- In a shell window, go to the root of Drupal.
-
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
-
Now that Composer knows where to find it, require this module (still from the drupal root directory):
composer require drupal/loft_data_grids
-
Require Composer Autoloader
composer require drupal/composer_autoloader
- Now go to Administer > Site Building > Modules and enable Composer Autoloader and Loft Data Grids.
- Visit /admin/reports/status and look for the line showing
aklump/loft_data_grids
is installed.
Version 7-x.2.x
- Download or install with Drush; does not require Composer for installation.
- 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.
Project information
- Module categories: Developer tools
- Ecosystem: Users Export
- 1,271 sites report using this module
- By aklump on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Update dependency on phpoffice/phpexcel to phpoffice/phpspreadsheet.
Development version: 8.x-1.x-dev updated 11 Oct 2021 at 19:14 UTC