Skip to content
Talking Drupal #484 - Drupal CMS episode artwork

EPISODE · Jan 13, 2025 · 1H 17M

Talking Drupal #484 - Drupal CMS

from Talking Drupal

Topics What is Drupal CMS Are we ready for the release Drupal 7 What can people expect Will there be a launch button If someone uses the one click install how will they know what to do next What new features are there If someone tries the trial how do they get that site on a host When will Experience builder be out Are any vendors going to provide Drupal CMS as a service What is on the roadmap How can people get involved Resources Starshot initiative Guests Matthew Grasmick - grasmash Hosts Nic Laflin - nLighteneddevelopment.com nicxvan John Picozzi - epam.com johnpicozzi Scott Weston - scott-weston MOTW Correspondent Martin Anderson-Clutz - mandclu.com mandclu Brief description: Have you ever wanted to have one or more fallbacks within your Drupal tokens? There's a module for that. Module name/project name: Token OR Brief history How old: created in May 2018 by Daniel Beeke (danielbeeke) of the Netherlands Versions available: 2.3.0 Maintainership Actively maintained, current release appx 2 mo old Security coverage Test coverage Number of open issues: 8 open issues, 3 of which are bugs against the current branch Usage stats: 2,369 sites Module features and usage After installing this module, your tokens can contain pipe-separated values, including a quote-enclosed literal string, and the token will return the first token or string that is not empty. This allows your tokens to have fallback values. For example you could have a token grab an event's start date, or show "TBD" if the field is empty. The project page doesn't explicitly say that a single token can have more than two token reference or string values, but it seems implied. If true, that would mean you could define a token that would grab from one field, look in a different field if the first one is empty, and return a string if neither field has a value. Because Token OR uses pipe characters to delineate between values, the module currently doesn't support pipe characters within string values. This is one of the open issues, but there is a patch available. Previous guest host Josh Mitchell mentioned that he had never heard of this module until he noticed it is in the codebase for Drupal CMS, so I thought it would be ideal to talk about on this show, as an example of some lesser-known best practices that you'll get out of the box when you start building sites on Drupal CMS.

Episode metadata supplied by the publisher feed · Published Jan 13, 2025

Embed this episode

Ready to play

Talking Drupal #484 - Drupal CMS

0:00 1:17:08

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of Talking Drupal?

This episode is 1 hour and 17 minutes long.

When was this Talking Drupal episode published?

This episode was published on January 13, 2025.

Can I download this Talking Drupal episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!