Stupendous Date Tricks - Drupal GovCon 2024

mandclu 18 views 20 slides Aug 17, 2024
Slide 1
Slide 1 of 20
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20

About This Presentation

Managing dates and times on a website can be complicated. Drupal can make it easy, especially now that recipes make it fast and easier than ever to get set up the right way.


Slide Content

Stupendous
Date Tricks
Recipes Edition!
Martin Anderson-Clutz
Senior Solutions Engineer, Acquia

DRUPAL4GOV.US
Martin Anderson-Clutz
@mandclu
@[email protected]

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