Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently customize fields title, url don't works. Please fix it.
I have created a WIP patch for it below:
Comment | File | Size | Author |
---|---|---|---|
#10 | fullcalendar-fixed_customized_fields-2833300-10.patch | 4.15 KB | jrb |
#9 | customize_fields_title-2833300-9.patch | 4.39 KB | cosolom |
Comments
Comment #2
Delphine Lepers CreditAttribution: Delphine Lepers as a volunteer commentedApply patch naming convention, fix cs
Comment #3
Delphine Lepers CreditAttribution: Delphine Lepers as a volunteer commentedComment #4
Delphine Lepers CreditAttribution: Delphine Lepers as a volunteer commentedComment #5
jonnyeom CreditAttribution: jonnyeom as a volunteer commentedThe patch seems to fail for Entity Link fields due to incompatibility
Here is the 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).
Comment #6
jonnyeom CreditAttribution: jonnyeom as a volunteer commentedAlthough this does not resolve the incompatibility issue mentioned in #5, I updated the patch to resolve two other things.
Comment #7
jonnyeom CreditAttribution: jonnyeom as a volunteer commentedAccidentally added code from another patch.
Here is the patch with that extra code removed.
Comment #8
NickDickinsonWildeRerolled with latest changes.
Comment #9
cosolom CreditAttribution: cosolom commentedRerolled
Comment #10
jrbThe patch in #9 does things differently from that in #8 and doesn't actually fix the title issue. The attached patch here does basically the same things as #8.
Comment #11
cosolom CreditAttribution: cosolom commented@jrb, maybe you right. my patch is more relevant to problem when title and url for calendar not come from basic entity of view, but from entity added by relationship.
Comment #12
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedThis conflict with the patch in https://www.drupal.org/project/fullcalendar/issues/3023612 that integrates date_recur module.
Comment #13
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedComment #14
ryankavalsky CreditAttribution: ryankavalsky commentedI've just updated this patch to apply to 8.x-1.0-alpha3: Issue #3189593
Comment #15
jonnyeom CreditAttribution: jonnyeom as a volunteer commentedJust FYI,
The patch referenced in #3189593: Customized Field Titles and URLs Don't Work seems to work and latest 8.x-1.x branch