The integration between WebCalendar and Drupal is working pretty good now (after some travail - of my own doing). The one feature of Webcalendar 1.1.x that I really wanted, however, was the remote publishing feature. I have tried several ways but can't get remote publishing working properly. I can publish to a webcalendar install, just not when it is integrated with Drupal.
Has anyone else had success with this. I can subscribe to calendars that are integrated in Drupal, but I can't publish to them. I've tried use both Sunbird and iCal clients and neither worked (with both clean urls on and off). This leads to believe (perhaps foolishly) that there is something in the integration piece or with Drupal that is causing issues.
Any successes in doing this? Any ideas?
Comments
Comment #1
jaredwiltshire commentedYeah I tried to use this the other day as well. Unfortunately icalclient.php is hardcoded to authenticate against the WebCalendar database. I may be able include a modified version at a later date.
Comment #2
hintbw commentedJared,
Fortunately I decided to dive into the code tonight and see if I couldn't get the functionality that I needed. I succeeded and am now able to publish to my WebCalendar embedded in Drupal. Here are the relevant code snippets:
The first is an additional function that had to be ported to the user-app-drupal.php file. This can simply be placed at the bottom of the user-app-drupal.php file and included for future releases of the module (once the code has been tested of course).
The other issue that had to be resolved was in the icalclient.php file, I have highlighted where the changed lines are. It would probably be worthwhile to produce an icalclient.php file that drupal users can simply drop in a replace (similar to what we have to do with the login-app.php file).
Comment #3
jaredwiltshire commentedLooks great. I'll review it and commit to CVS soon.
Comment #4
jaredwiltshire commentedSorry for the hugely long delay..
I'll be looking at this today.
Comment #5
jaredwiltshire commentedFixed in CVS.
Username is the users uid.
Comment #6
(not verified) commented