Problem/Motivation

Multiple events on one day showing "2+ more" instead of event titles.
I have two sites using FullCalendar View. With multiple events on one day, one site shows titles, which is what I want, the other shows +2 more.

Where can I control that behavior?

Comments

gord.fisch created an issue. See original summary.

gord.fisch’s picture

Assigned: gord.fisch » Unassigned
mihai11’s picture

Hello. With this patch you will be able to change the event limit or the text displayed via the hook(hook_fullcalendar_view_variables_alter) provided by the module. You can find more information here.

bbu23’s picture

Status: Active » Needs review
szeberli’s picture

Version: 8.x-2.7 » 5.0.7
Component: Documentation » Code
StatusFileSize
new869 bytes

this is a patch for 5x

szeberli’s picture

StatusFileSize
new640 bytes

with this patch all items are displayed

rjhammond’s picture

Patch from #6 works to display all. Thank you!

a.sinitsa’s picture

#6 works. Thank you!

mingsong’s picture

StatusFileSize
new2.05 KB

Thanks everyone for your patches and testing.

FullCalnedar.js allows to specify the number of events displayed on a day. It is also better if we allow user to decide for each view whether need a limit on it.

So the following patch introduce a new setting for the view to specify how many events should be displayed for a day.

  • Mingsong authored fc43d41 on 5.x
    Issue #3163273 by szeberli, Mingsong, mihai11, gord.fisch, bbu23,...
mingsong’s picture

Status: Needs review » Fixed

Will be released with 5.0.8

Thanks everyone again.

justafish’s picture

I'm not sure if this is the case for v4, but for v5 I had to explicitly cast the value to FALSE (instead of 0) to show all events. I've updated https://www.drupal.org/project/fullcalendar_view/issues/3085884#mr9-note... in the v5 upgrade issue, but it might need cherry picking over to here as well

mingsong’s picture

Thanks Sally for your excellent work on this module.

From a user perspective who is not familiar with FullCalendar, when they see the description of the setting said "Limits the number of events displayed on a day.", they might not be aware that this setting also accept a boolean value of FALSE.

In the case where they want to display all events, they might be specify a very big number, for example 1000, rather than a boolean value.

According to my test, the V4 is working well with value of 'FALSE', which will be converted to integer value of 0. All events are listed in the month view.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.