You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'm using the calendar widget to display upcoming events of a organization I'm part of (german "Verein"). For this, I'm sharing a calendar that's managed by the organization comitee with all members of the nextcloud installation. The calendar widget is by default visible on every users dashboard. Sometimes the next event is in a month, however the widget simply says "no future events"..
I found the corresponding line for this behaviour here
I'd like a way to customize how many days into the future the widget should look.
Either through a setting in config.php or a UI setting in the admin area.
Describe alternatives you've considered
I manually changed the line in CalendarWidget.php in my local installation. However, the file is part of the docker container so will get replaced when I update the container next time.
I also thought that maybe its possible to create a own app that extends the CalendarWidget and just overrides the method, but I haven't found any information on how one app could access a Widget from another app, so its probably easier and better for everyone to get this feature into this app.
Additional context
I'm willing to send a PR for this feature. Imho easiest way would be to allow overriding in config.php with the default value set to the current value of P14D or just integer 14 and constructing the correct string in the widget. Please let me know if this would be acceptable and such a PR would get merged or which solution you would have in mind.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I'm using the calendar widget to display upcoming events of a organization I'm part of (german "Verein"). For this, I'm sharing a calendar that's managed by the organization comitee with all members of the nextcloud installation. The calendar widget is by default visible on every users dashboard. Sometimes the next event is in a month, however the widget simply says "no future events"..
I found the corresponding line for this behaviour here
calendar/lib/Dashboard/CalendarWidget.php
Line 147 in 4ffa323
Describe the solution you'd like
I'd like a way to customize how many days into the future the widget should look.
Either through a setting in config.php or a UI setting in the admin area.
Describe alternatives you've considered
I manually changed the line in CalendarWidget.php in my local installation. However, the file is part of the docker container so will get replaced when I update the container next time.
I also thought that maybe its possible to create a own app that extends the CalendarWidget and just overrides the method, but I haven't found any information on how one app could access a Widget from another app, so its probably easier and better for everyone to get this feature into this app.
Additional context
I'm willing to send a PR for this feature. Imho easiest way would be to allow overriding in config.php with the default value set to the current value of P14D or just integer 14 and constructing the correct string in the widget. Please let me know if this would be acceptable and such a PR would get merged or which solution you would have in mind.
The text was updated successfully, but these errors were encountered: