This section houses guides, tips, and tricks for working with multimedia (video, audio, etc.) in Drupal, whether through the Drupal 8/9 Media library system, or through other means.
Eventually, the time comes to say goodbye to a Drupal site, but doing so is not always as easy as it may seem. Below are tips and tricks for shutting down a site gracefully without losing your sanity along the way.
Here are some example .lando.yml files (and associated settings.php files for drupal) of commonly-used configurations.
Note: "Abandoned" does not necessarily mean that the module has been completely abandoned - it just means that the Drupal 7 version appears to be abandoned. There could be a Drupal 9 version of the module that is being actively developed and supported. See our Drupal 7 Express migration guide for the Drupal 9 status of all of these modules.
Most Drupal 10 installations on campus will be hosted on OIT Web Hosting and managed through composer (not Installatron as was used for Drupal 7 and earlier). Updating Drupal 10 under composer is relatively straightforward, but does involve several steps:
Mercury Reader requires an extra php extension outside of what lando's drupal10 recipe typically provides.
Adjust your lando.yml Landofile to include the following:
- apt-get update -y
- apt-get install libxslt1-dev -y
- docker-php-ext-install xsl
- docker-php-ext-enable xsl
Rebuild your lando environment to install the libraries:
lando rebuild -y
Drupal 8.9.x websites managed with Composer can be updated to Drupal 9.x by following the steps below.
Follow the directives on the Upgrading to Drupal 9 page:
- Drupal 9 requires a settings.php change.
As with any major update, make a full backup (filesystem and database) before you begin.
Submodules allow you to keep a Git repository as a subdirectory of another Git repository. This lets you clone another repository into your project and keep your commits separate.
To define the submodules for the various GT Theme components, add the following sections to the .gitmodules file for each repository:
For most general use cases, we recommend the OIT Web Hosting turnkey install option of Drupal 10: when requesting a new Web Hosting account, you can mark the Drupal Express option on the request form and your account will be pre-loaded with a ready-to-use version of Drupal 10 complete with the official Georgia Tech web theme and page layout system.