Drupalwoo ☉

News

TitleDateExcerpt
Fetch Drupal data with EntityQuery conditionsDrupal’s EntityQuery API gives module code a structured way to retrieve entities that match specific conditions. It is useful when a custom feature needs…
Build dynamic Drupal routes with placeholder parametersDrupal routing decides which controller serves a URL. A fixed path such as /events is simple, but an Australian events directory often needs distinct pages for…
Integrating Google reCAPTCHA with Drupal formsPublic forms are an obvious target for automated spam. A Drupal contact, quote, registration, or event form can attract bot submissions that consume staff…
Building a Drupal view with exposed date range filtersViews turns a content collection into a searchable directory. An exposed filter lets visitors narrow a result set from the page, while editors retain control…
Building a Custom Drupal Event Subscriber for Content OperationsContent operations rarely live in one place. A node is drafted in Brisbane by a freelance writer, reviewed by an editor working out of a Melbourne co-working…
Using Drupal's cache API for expensive computationsDynamic Drupal builds often repeat expensive work: a shipping quote calls several carrier APIs, a reporting endpoint aggregates thousands of records, and a…
Overriding Drupal core templates in a subthemeDrupal builds most of its page structure from Twig templates supplied by core modules, the active theme and any parent theme. When a design calls for different…
Dynamic Sitemaps with a Custom Drupal ModuleSearch engines use XML sitemaps as a map of URLs, but the file is only a discovery aid. It does not guarantee indexing, rankings or visibility. The useful…
How to use Drupal's plugin system for custom field widgetsDrupal’s Field API separates content storage, editing, and presentation. A field type defines the value, a field widget plugin supplies the form used to enter…
Build a Drupal custom formatter for caption overlaysAn image with a caption overlay combines a picture and its explanation in one visual unit. That pattern suits Drupal sites built by Australian studios,…