Pantheon Get Secrets - Config Notes
These notes are for setting up a SMTP Authentication for Drupal sites hosted on Pantheon. Pantheon provides a nice tool for securing API Keys and other credentials, so they do not need to be stored in configuration files as plain text.
The function pantheon_get_secret() may be used to fetch the value of a single secret.
Room Reservation - Location Filters by Site Section
General Concept
On the Reservation Request Form, an authenticated requestor selects their Department request form. They are provided a list of Locations that are available to reserve. Requests are checked against the Department's calendar to ensure there are no conflicts with other reservations.
Technical Breakdown:
On the reservation request form, Ajax calls a hook to update the available Locations based on this Department.
Explore the Full Article
Access Control Using Taxonomy and the Workbench Access Module
A collection of community inputs and evaluation notes for choosing Access Control strategies. Module evaluations were gathered for Group, Workbench Access, and Permission by Term.
(We're going to add entity_hierarchy to this review list.)
Explore the Full ArticleRaspberry Pi Trash-picked Telescope w/ Drupal API
Here is a recently trash-picked telescope from the sidewalks of Philly. The lenses were super dirty, but we put a Pi camera on the thing and could focus a semi-acceptable shot of a roof vent a block away. The Raspberry Pi camera is 10-megapixel with a manual focus that is very sensitive. You can get great shots with the camera, but dialing the focus takes time. The camera runs on a Raspberry Pi and posts wirelessly using a Drupal API and shell script.
Script to help cleanup the non existing permissions from your roles
See: https://www.drupal.org/node/3193348#comment-14969643
web]$ ../vendor/drush/drush/drush php-script ../drush-scripts/clean_permissions.php
Explore the Full ArticleDrupal 10 Site Building Notes
It's almost Theme Time, but before we begin with the fun stuff, there are a few server items that need to be set up. Outbound email is the hardest piece, so we're going to get help from AI and we'll put the notes here to share.
Explore the Full ArticleDrupalCon Portland 2024
It looks like the stars will align and we'll be making a trip to Portland for this year's DrupalCon. ... and from here, its off to the stars: ddev setup notes https://www.drupal.org/docs/develop/local-server-setup/windows-development-environment/installing-drupal-with-ddev-in-wsl2-on-windows/installing-docker-ddev-drupal-in-wsl2 Explore the Full ArticleSetting the Default Value for field_ assigned_ user_email
Problem Statement
We needed to set a default value for the field_assigned_user_email field on the node_reservation_request_form. The challenge was to locate the correct array path to this field within the form structure, as it was not immediately apparent where the field was nested.