Event Site shows up twice.

Created on 13 April 2025, 3 months ago

Problem/Motivation


Because the event name can come from 2 locations and both are required fields, it creates duplicate titles.

Steps to reproduce.
ddev composer require 'drupal/event_platform:^2.0@beta'
and add the event_horizon dev branch.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bernardm28 Tennessee

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

Comments & Activities

  • Issue created by @bernardm28
  • πŸ‡ΊπŸ‡ΈUnited States bernardm28 Tennessee

    event_horizon/components/site-hero-25/site-hero-25.twig

    I see it coming from there.
    It's an interesting concept

    <h1 class="site-hero__title">
    {{ event_details.field_event_name.value }} {{ current_event.name.0.value }}
    </h1>
    

    But I wonder if we should pick one or the other, as I was just tempted to put the same on both. Either that or change the other or add labels.

  • πŸ‡ΊπŸ‡ΈUnited States bernardm28 Tennessee

    Maybe the first one should be called Year instead of name.

  • πŸ‡¨πŸ‡¦Canada mandclu

    "Year" does a better job of communicating the difference, but some sites (e.g. events.drupal.org) include multiple events per year, so I think calling it "year" is too opinionated. Maybe something more generic like "Instance identifier"?

    Also, it sounds like this is really more a question of admin UX, so we should think about moving this to the Event Platform queue.

  • πŸ‡¨πŸ‡¦Canada mandclu

    Moving this to Event Platform since the cause probably needs a fix in the config page admin labels.

    Also, updating the IS to reflect the new understanding, as well as the fact that the order of the fields has changed.

Production build 0.71.5 2024