I want to show events from an external source in the Kronolith calendar views. I don't want to do this by exporting the events to iCal and then showing them as an external calendar. The events are grouped in multiple calendars, the user should be able to disable/enable these calendars.
How to show custom events to a Kronolith calendar
926 views Asked by Jan Fabry At
1
There are 1 answers
Related Questions in CALENDAR
- Tasks in a RecycleView are merging into 1 item
- Python Django HTMLCalendar How To Set First Weekday To Sunday
- Generating Google Calendar Share URL
- Vertical Line Plot based on Actual Calendar Days not based on Bar Index
- How to add event in google calendar in kotlin (android)?
- Creating a outlook calendar event leaves a shade of that event throughout the entire day till the end date
- Enable the user to pick a date from Calender for non consecutive date only in ios?
- MUI DatePicker 6.19.7 change picked day bgcolor using sx
- how to display event creation screen while adding event to the calendar?
- Displaying ICS informations in grid
- Share Outlook calendars with all members of specific security group
- How can I do this? (Calendar search, find, match then edit)
- One day difference in Converting Gregorian to Hijri date using Intl.DateTimeFormat
- Can't limit to only 3 or 4 days in week/week view in React big calendar
- "Get event happening now" type problem in Redis
Related Questions in HORDE
- run File_PDF on php 8 (upgrade to Horde_Pdf)
- How to use caldav/carddav using Horde Framework and lighttpd
- Horde Gmail OAuth2 Authentication Failed
- Horde shared mailboxes
- How to update event via Python's CalDav
- PHP Horde imap fetch with PEEK
- PHP Horde imap how to fetch
- PHP Warning: fgets(): SSL operation failed with code 1
- How to extract email attachments using Horde IMAP Client in PHP
- PHPcurl: Login into Website and GET Data after Login HTTP 404 Resource not found Error
- Horde SabreDAV CardDAV Connection Errors
- html format misconfiguration in Horde
- Why can't Horde cannot find files in php folder?
- Horde initial Administrator
- error when trying to install Horde
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
You can do this by implementing the
listTimeObjectsandlistTimeObjectCategoriesAPI calls. Nag (task list) and Whups (ticket tracking) do it this way. If you are using the Git version, you can use TimeObjects, which wraps everything up in a nice class.Kronolith calls these functions in
initialize()(when filling$all_external_calendars) andlistEvents(). It searches all APIs for this function, so you can register it with your own prefix.timeObject is a generic name for "things that can be shown on a calendar", like events, task due dates, ... A timeObjectCategory is a group of timeObjects, which can be enabled or disabled in a group by the user. (In the default layout: using the panel in the upper-right corner of the calendar view, "Calendars".)
Your implementation for
listTimeObjectCategoriesshould return an array, with a category id as the key, and the user-visible name as the value. The category id's are also shown at the bottom of the calendar, and the user can define colors for them.listTimeObjectsis called with the currently selected categories (an array of id's), and a start and end date. These dates might already beHorde_Dateobjects (to be sure, convert them again:$start = new Horde_Date($start)).You should return an array of timeObjects that belong to these categories and fall in the specified time range. The keys are event id's, the values are arrays with values for the following keys:
idtitledescriptionstart(Horde_Dateor timestamp)end(Horde_Dateor timestamp)category(Category id)paramsIf you register the
showAPI call, this will be used for creating the link to the timeObject detail.