Show Series Title as the Page's Title in the Browser Tab

Created on 15 January 2021, over 4 years ago
Updated 2 May 2025, 13 days ago

Problem/Motivation

Does any know how to set the page's title (what shows up in the browser's tab) on a Series page (/events/series/#)? I've tried the following, but nothing has worked so far:

  • Adding a hard-coded _title under entity.eventseries.canonical > defaults in modules\contrib\recurring_events\recurring_events.routing.yml
  • Adding a dynamic _title_callback, also under entity.eventseries.canonical > defaults in modules\contrib\recurring_events\recurring_events.routing.yml. I tried setting this value to:
    • '\Drupal\recurring_events\Controller\EventSeriesController::addPageTitle' (just to get something to show up)
    • '\Drupal\recurring_events\Controller\EventInstanceController::getTitle' (after adding public function getTitle(EventInterface $eventseries) {...} to modules\contrib\recurring_events\src\Controller\EventSeriesController.php)
πŸ› Bug report
Status

Postponed: needs info

Version

2.0

Component

Recurring Events (Main module)

Created by

πŸ‡ΊπŸ‡ΈUnited States ryankavalsky

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States ju.vanderw

    i am having this same issue.
    The event series title does not appear on Easy Breadcrumb breadcrumb block, and on the browser tab. In the metatag, it is definitely missing.

Production build 0.71.5 2024