Stupendous
Date Tricks
Recipes Edition!
Martin Anderson-Clutz
Senior Solutions Engineer, Acquia
DRUPAL4GOV.US
Martin Anderson-Clutz
@mandclu
@mandclu@drupal.community
DRUPAL4GOV.US
2024
Drupal
GovCon
Sponsors
Photo:
https://unsplash.com/@brucemars
Photo:
https://unsplash.com/@brucemars
DRUPAL4GOV.US
Recipes Used
● Events
● Events Calendar
● Events Locations
○ Locations
● Events Registration
DRUPAL4GOV.US
Modules Used
● Smart Date (+ Smart Date Recur)
● Date Augmenter API
● Date Content Augmenter
● Add to Calendar Date Augmenter
● Fullcalendar View
● Registration
DRUPAL4GOV.US
Admin, SEO Modules Used
● Add Content by Bundle
● Pathauto
● Metatag
● (optionally Inline Entity Form too)
DRUPAL4GOV.US
Locations: Modules Used
● Address
● Geocoder
● Geofield
● Leaflet
DRUPAL4GOV.US
“Fresh” install
● Projects every site should use:
○ Gin (Drupal CMS?)
■ Gin Toolbar
● Personal favorites
○ Keysave
○ Node Type Defaults
● For the sake of time
○ Geocoder
■ Google Maps API key
DRUPAL4GOV.US
Case 1: Install Events system
● Fresh install of Drupal 11
● Easy to use date widget
○ All day checkbox
● Intelligent deduplication in date output
● Add-to-calendar links
DRUPAL4GOV.US
Case 2: Monthly Meetups
● Repeats on the second Thursday of each month
● Set and display timezone
● Each meetup needs:
○ Topic
○ Presenter(s)
○ Meetup link
DRUPAL4GOV.US
Case 3: Weekly Concerts
● Each concert needs:
○ Artist(s)
■ Image
■ Show bio
○ Description
● Repeats on Tuesday, Friday
DRUPAL4GOV.US
Case 4: Daily Standup
● Repeats Monday to Friday
● Add to calendar on the series, not individual
dates
● Add scrum notes
● Show the series rule, the next occurrence,
and the three most recent
DRUPAL4GOV.US
What Haven’t We Covered?
● Other modules:
○ Fullcalendar View advanced config
○ Entity Registration advanced setup
○ Bookable Calendar
○ Entity Browser
● Other use cases?
DRUPAL4GOV.US
The Smoke and Mirrors
● Patches applied to core:
○ [#3464160] Warnings output when importing a view using tab links
○ [#3467262] For a page display designated "Default menu tab" a parent menu link is not created
● Patches to Registration
○ [#3465606] Make compatible with Drupal 11
DRUPAL4GOV.US
The Smoke and Mirrors
● Patches applied:
○ [#3464160] Warnings output when importing a view using tab links
○ [#3467262] For a page display designated "Default menu tab" a parent menu link is not created
● Recipe hacks
○ Alerts and Quick Links have associated modules for formatting
○ Added to recipe.yml files so installed as recipe applied
DRUPAL4GOV.US
Making the Complex Easy
● Within 45 minutes
● Fresh install of Drupal
● Small(ish) number of modules for the range of
capabilities
● 4+ complex use cases
…without writing any code!
Questions?
@mandclu
Stickers!
DRUPAL4GOV.US
Some Extra Details
● https://www.youtube.com/watch?v=ySHnQ6xz7Vg
● Pre-recipes version from
Drupalcamp NJ

Stupendous Date Tricks - Drupal GovCon 2024