Customized Field Titles and URLs Don't Work

Created on 22 December 2020, over 4 years ago
Updated 5 June 2025, 3 days ago

Problem/Motivation

As mentioned in Issue #2833300 β†’ , selecting custom titles and URLs doesn't work, but I'm posting this new issue since I'm providing a working patch for 8.x-1.0-alpha3. This patch specifically should address #5 β†’ , as I was able to resolve a similar error in relation to fields provided by the Recurring Events β†’ module. This patch should work for any type of title field, as well as any link field using any of the following View options:

  • "Use absolute link"
  • "Output the URL as text"
  • "Output this field as a custom link"

Steps to reproduce

  1. Create a new View using the FullCalendar format
  2. Add whatever fields are necessary, including "Custom text"
  3. Under "Customize Fields", select "Use a custom title" and/or "Use a custom redirect URL"
  4. You'll see something similar to the following error:
    Call to undefined method Drupal\views\Plugin\views\field\EntityLink::getItems() in Drupal\fullcalendar\Plugin\views\style\FullCalendar->prepareEvents() (line 296 of modules/contrib/fullcalendar/src/Plugin/views/style/FullCalendar.php).
    
πŸ› Bug report
Status

Closed: duplicate

Component

Code

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.

Production build 0.71.5 2024