Picture Tags for Cover Photos (Some Notes)
2025 Update Note
After baking an HTML Picture tag into our front theme template, we realized a better path would be to build out a custom "BlockType". Using a block type lets us add big spash screens to any section of the site. Each department or site-section can have it's own "Splash Block", with file variation tailored to portrait mobile, with a massive landscape desktop option for those on a big monitor.
Explore the Full Article
Events and Registrations Whiteboard
Some whiteboard notes on building Events and Reservations, using Entity References.
Explore the Full ArticleContent Access Control - Role Planning
"_access" membership opens Moderator and Content Editor access for a Site Section.
Additional access is provided by "position_" membership.
The combination of these two role types provides for access within Site Sections.
Further access controls can be derived from the "Default Location" set for all User Profiles.
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.
RSVP System - Reservation Location Filters by Site Section
General Concept
On the Reservation Request Form, an authenticated requestor selects their Community. The Requester is presented with a list of reservable Locations. Requests are validated against the Community's calendar to ensure no conflicts exist with other reservations.
Technical Breakdown:
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.
AI prompts
Chatbots in Education - GPT
Explore the Full Article