"Title for exceptions section" does not appear in Views display

Created on 9 January 2025, 27 days ago

Problem/Motivation

Leaving default title or adding own title to the "Title for exceptions section" in Views integration does nothing. Title is being omitted from View.

Steps to reproduce

  1. Create View
  2. Add Office Hours field
  3. Expand section for "Exception days and Seasons"
  4. Leave default title or modify title
  5. Save View

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.20

Component

Integrating Views

Created by

πŸ‡ΊπŸ‡ΈUnited States gallegosj

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

Comments & Activities

  • Issue created by @gallegosj
  • πŸ‡³πŸ‡±Netherlands johnv

    I think there is something wrong with your settings. See my screendump.
    (It shows that the captions should have a 'colspan' . Perhaps you can help me with that.)

    Please make sure you have the 'Table' formatter, and that the Formatter settings are explicitly saved in the View.

  • πŸ‡ΊπŸ‡ΈUnited States gallegosj

    We are deliberately using the Plain Text formatter instead of the Table formatter for more layout flexibility.

  • πŸ‡³πŸ‡±Netherlands johnv
  • πŸ‡³πŸ‡±Netherlands johnv

    Thisis now fixed in #3498532-8: Season name needs unique class in 'Plain text' formatter β†’ .
    Please try latest dev version and report back.

  • πŸ‡ΊπŸ‡ΈUnited States gallegosj

    Using latest dev version. Value of "Title for exceptions section" still does not display when using Plain Text formatter. Occuring in both Node display and Views.

  • πŸ‡³πŸ‡±Netherlands johnv

    Please clear the caches.
    Also disable aggregation.
    Both on /admin/config/development/performance

    let's see if there is a problem.

  • πŸ‡ΊπŸ‡ΈUnited States gallegosj

    I have disabled CSS and Javascript aggregation. Cleared all caches. Issue remains.

  • πŸ‡³πŸ‡±Netherlands johnv

    I use out-of-the-box Oliver and Claro themes from Drupal 11.

  • πŸ‡ΊπŸ‡ΈUnited States gallegosj

    Switched to core Olivero theme. Value of "Title for exceptions section" still missing from Node display and Views display. Drupal 10.3.11

  • πŸ‡³πŸ‡±Netherlands johnv

    Ah, but it seems you have not set any exceptions at all.
    Please maintain exceptioneel in the future, and make sure they are in the horizon that you can maintain in the formatter setting.

  • πŸ‡ΊπŸ‡ΈUnited States gallegosj

    Added exceptions for Jan 29 and Jan 31. Cleared site cache. Still no title.

  • πŸ‡³πŸ‡±Netherlands johnv

    I guess there is no interference with other modules?

    In the field formatter, in the 'Exception days and Seasons' section, under 'Title for exceptions section' (helptext: Leave empty to display no title between weekdays and exception days.), did you fill a date?

    When you check the page with 'Inspect element' of [F12], do you then see an element?

  • πŸ‡ΊπŸ‡ΈUnited States gallegosj

    I don't think there's a conflict with another module. It's not displaying on our custom theme, nor the core Olivero theme. It's not even displaying in the Views "Preview" section when I go to edit the View.

    I did not enter a date. I entered a title of "Upcoming Exceptions". All of my settings for that section are in the first screenshot from comment #10. I use the same settings for both the Node display and the View display.

    Looking at the page Inspector, the element is doesn't exist. See new screenshot.

  • πŸ‡³πŸ‡±Netherlands johnv

    You did update to the dev version, didn't you? because indeed, it was not added to the view in v1.21.
    I added in the dev- version, and I thought it wasin this issue, but I do not see the commit. so prbably n another issue.

  • πŸ‡ΊπŸ‡ΈUnited States gallegosj

    Yes, I've been using the dev version since your advice in comment #5.

Production build 0.71.5 2024