[commits] [Wiki] changed: KronolithEmbedCalendars
Wiki Guest
wikiguest at horde.org
Tue Mar 4 02:16:16 UTC 2014
guest [216.185.247.72] Tue, 04 Mar 2014 02:16:16 +0000
Modified page: http://wiki.horde.org/KronolithEmbedCalendars
New Revision: 2
Change log: Cleaning up some rough notes on embedding calendars.
@@ -1,40 +1,31 @@
-+Embedding Calendars
-
-The following will embed the month view of the calendar indicated by
the calendar parameter:
++Embedding Calendars in Kronolith Version 4.1.4
+**The following will embed the month view of the calendar indicated
by the calendar parameter:**
<div id="kronolithCal"></div><script
src="http://localhost/horde/services/ajax.php/kronolith/embed?token=5UrWNtIWpFwkxXALbL_fDg3&calendar=internal_qAJrkfuHbKlcFSBcadUkOg1&container=kronolithCal&view=month"
type="text/javascript"></script>
-
-The following will embed the "summary" view:
-
+**The following will embed the "summary" view:**
<div id="kronolithCal"></div>
<script
src="http://localhost/horde/services/ajax.php/kronolith/embed?container=kronolithCal&view=summary"
type="text/javascript"></script>
-you may add the following parameters to the summary view:
-
+**You may add the following parameters to the summary view:**
calendar=x Limit to events in the specified calendar.
days=x - limits the number of days shown in the summary view to x.
maxevents=x limits the number of events shown to x.
-The following embeds the "monthlist" view:
+**The following embeds the "monthlist" view:**
<div id="kronolithCal"></div>
<script
src="http://localhost/horde/services/ajax.php/kronolith/embed?container=kronolithCal&view=monthlist"
type="text/javascript"></script>
-You may add the following parameters:
+**You may add the following parameters:**
calendar
months
maxevents
-> The file imple.php does not seem to exist anymore so I gather that
is no longer an option?
-
-Correct.
-
-> Is there a way to restrict the summary view to only one day with
something like "days=1"? What is the proper syntax?
-
-Yes. Exactly that.
+There are a number of examples on the web using the file imple.php do
not work with the newer versions of Kronolith.
+To restrict the summary view to only one day add "days=1"?
-> Are there any tricks to embedding all calendars or multiple calendars?
+For most of the blocks, if you leave out the "calendar" parameter
then all currently viewable (I believe only local) calendars would be
shown. Otherwise, only the calendar specified in the calendar
parameter is used.
-For most of the blocks, if you leave out the "calendar" parameter
then all currently viewable (I believe only local) calendars would be
shown. Otherwise, only the calendar specified in the calendar
parameter is used.
+If times are off you may need to set "date.timezone = MyTimeZone" in
my php.ini.
More information about the commits
mailing list