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 best solutions below
Related Questions in CALENDAR
- Having trouble writing a calendar, I couldn't find a detailed guide answering my questions anywhere
- Algorithm to find the Gregorian date of the Chinese New Year of a certain Gregorian year
- google calender library disable Previous date
- Adding calendar in ms access and view the data of specific day by clicking the date
- Can't call EWS service with API Java SSL and certificates
- Obtaining value from Calendar control without selecting a day
- Generating dates to the days of a week in Python?
- "is this date the third thursday of the month?" - Java Library?
- Django: Which days have objects?
- Adding reminder to event fails in Android
- Embed editable google calendar for those who have the access
- How to open different activities for each day in the custom calendar
- having trouble in setting up a calendar in tkinter
- How to fetch tasks from android calendar?
- How do i delete the JLabel from previous creation?
Related Questions in HORDE
- Migrate Horde database
- Horde Webmail HTML signature internet explorer
- Horde Authentication Backend Configuration
- Searching email body without downloading - IMAP
- SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
- Horde Autoloader - How to use?
- Horde_Text_Diff string comparison library only comparing 1st character of strings
- How to show custom events to a Kronolith calendar
- run File_PDF on php 8 (upgrade to Horde_Pdf)
- How to use caldav/carddav using Horde Framework and lighttpd
- Connecting to Gmail via Horde_Imap_Client
- Horde Gmail OAuth2 Authentication Failed
- html format misconfiguration in Horde
- Horde SabreDAV CardDAV Connection Errors
- PHPcurl: Login into Website and GET Data after Login HTTP 404 Resource not found Error
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)
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?
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.