Difference between revisions of "User Contributions"

From Davical
Jump to navigationJump to search
m
m
Line 3: Line 3:
 
* [[Synology|Installing DAViCal on a Synology NAS]]
 
* [[Synology|Installing DAViCal on a Synology NAS]]
 
* [[Installing DAViCal on systems running multiple versions or a non-standard port for PostgreSQL]]
 
* [[Installing DAViCal on systems running multiple versions or a non-standard port for PostgreSQL]]
 
+
* [[Web Display of Calendars]]
===Code or Examples Relating to DAViCal===
 
 
 
====Web Display of Calendars====
 
 
 
I wrote this to pull calendars from DAViCal to our website.  It is a re-write of some classes that pulled data from a Drupal database, so it currently doesn't display all possible text. 
 
 
 
I'd love to see this rolled into DAViCal on the user collections page or as a way of displaying groups of collections in read-only mode. 
 
 
 
To install, you'll need to update the following line in caldav_display.classes.php with your information, and then adjust the calendars you'd like to display in sample_display.php. Put sample_display.php and calendar.css in a web accessible folder and place the classes file in your path.
 
 
 
$calendar_db = pg_connect("host=hostname port=5432 dbname=rscds user=general password=password_for_general"
 
 
 
Place calendar_notifier on a server with cli php and call it with cron to send out nightly agenda emails.  Something like:
 
 
 
0 4 * * * php /usr/local/sbin/calendar/calendar_notifier.php
 
 
 
You'll also need to install [http://pear.php.net/package/Date Pear's Date] class and a relatively recent version of [http://jquery.com JQuery].
 
 
 
[http://marlboro.edu/davical/caldav_display.tar.gz Download]
 
  
 
====Web client for DAViCal====
 
====Web client for DAViCal====
  
 
Information has been moved [[DAViCal_Web_Client | here]]
 
Information has been moved [[DAViCal_Web_Client | here]]

Revision as of 14:00, 30 June 2015