User Contributions: Difference between revisions

From Davical
Jump to navigationJump to search
mNo edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Languages|User Contributions}}
{{Languages|User Contributions}}


* [[Synology|Installing DAViCal on a Synology NAS]]
* [[Web Display of Calendars]]
* [[Installing DAViCal on systems running multiple versions or a non-standard port for PostgreSQL]]
* [[DAViCal_Web_Client]]
 
* [[DAViCal-cli]]
===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====
 
Information has been moved [[DAViCal_Web_Client | here]]

Latest revision as of 19:13, 11 June 2016