Event limit for calendar_new module
- Status
- Closed
- Subject
- Event limit for calendar_new module
- Version
- 5.x
- Category
- Error
- Feature
- Calendar
Modules - Submitted by
- chemgeek
- Lastmod by
- chemgeek
- Rating
- Description
- The calendar_new module does not display event links or popup boxes after a certain point in the month view when there are many events in a given month. The links and popups re-appear in week view or in month view if fewer calendars are aggregated into the mini-calendar. If an event is deleted in one of the aggregated calendars, the mini-calendar will show an additional day of links/popups. The problem appears to be associated with the number of events that must be displayed, although I cannot verify this. The links and popups disappear after about 35-50 events have been displayed.
- Solution
Edited two lines shown below in lib/calendar/calendarlib.php to allow for 255 events (probably could be larger if necessary)
//FIXME : maxrecords = 255
$listtikievents = $this->list_items_by_day($calIds, $user, $viewstart, $viewend, 0, 255);- Workaround
- There is no good workaround. The php code in lib/calendar/calendarlib.php should be modified to allow for more events to be displayed. The current hard-coded limit of 50 is too small.
- Importance
- 7
- Priority
- 35
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 3516
- Created
- Friday 13 August, 2010 14:40:20 UTC
by chemgeek - LastModif
- Friday 13 August, 2010 17:27:03 UTC