Roundcube Community Forum

 

Calendar plugin

Started by rosali, December 29, 2008, 10:43:58 AM

Previous topic - Next topic

rosali

Regards,
Rosali

vwmoose

A million apologies!  Don't know what I did there.  Your patience is welcomed thanks!

Phil

vwmoose

OK, so now i'm up-to-date can I ask another question?    By enabling the CalDav option in Calendar settings I am presented with a few more fields e.g. username, passowrd, server url etc.

Now am I assuming that if I leave these blank and attempt to connect to my RoundCube Calendar via my iPhone I will be able to read the entries or have I failed to make my requirements clear and the CalDav option only allows me to connect to a CalDav server somewhere else and import the entries?

Cheers

Phil

rosali

No, that's completely wrong.

CalDAV is a server application. Compare it with IMAP. So you need a provider - or you are you own provider - who has CalDAV running.

You can configure the Calendar to connect to the CalDAV service. If you configure your iPhone accordingly both devices should read/write from/into the same backend to be synced.

EDIT: It should be easy to Google's CalDAV service.
Regards,
Rosali

athoomi

#109
Hi,

new question :confused: :

I'd like to change an entry (e.g. Startdate changed 05.19 to 05.21). One possibility is to move the entry with drag and drop. But this doesn't work for May => July.

In "Edit Event" there is only a posibility to change the end-date (screenshot).


Any ideas?

rosali

I prefer (approved) bug reports and enhancement requests at issue tracker (myroundcube - RoundCube Plugins - Google Project Hosting).

Support requests should be posted on this forum.

You are asking for an enhancement.
Regards,
Rosali

rosali

Regards,
Rosali

billstif

Rosali,

I assume that if I update to the latest version I will have to rerun the MySQL script?  If I do so, what impact, if any, will that have on my existing calendars?

Thanks,
Bill S.

rosali

You just have to create the `events_caldav` table and to add the 'caldav' field to `events` and `events_cache` tables.

Another approach is to export the existing events table and the to delete it. After that you run the whole script and finally re-import events table.
Regards,
Rosali

billstif

Thanks, Rosali.  I was able to do all of that, and things work fine except that none of the calendar feeds I have added are showing.  These are feeds external to Roundcube.  Has anyone else had a similar problem?

rosali

Regards,
Rosali

billstif

I have to keep saving the categories and feeds until eventually the program reads them.  The problem may be related to this error message:

[26-May-2011 11:19:08] PHP Warning:  Invalid argument supplied for foreach() in /home4/billstif/public_html/meachamwriters/mail/plugins/calendar/calendar.php on line 699

which refer to these lines (699-700)

    foreach ($categories as $class => $color) {
      $select .= "\n";

rosali

Try the following code to fix the error:

calendar.php:

  
function generateHTML() {
    
$rcmail rcmail::get_instance();
    
$categories $rcmail->config->get('categories');
    if(
$_SESSION['user_id'] != $_SESSION['caluserid']){
      
$user $this->getUser($_SESSION['caluserid']);
      
$prefs unserialize($user['preferences']);
      
$categories $prefs['categories'];
    }
    
$this->categories $categories;
    
$select "<select id=\"categories\" name=\"categories\">\n";
    if(
is_array($categories)){
      
$select .= "<option value=\"\">" $this->gettext('default') . "</option>\n";
      foreach (
$categories as $class => $color) {
        
$select .= "<option style=\"background-color:#$color;\" value=\"" $class "\">$class</option>\n";
      }
    }
    
$select .= "</select>";
    return 
$select;
  }
Regards,
Rosali

billstif

Thanks, Rosali.  I've made the change, and that appears to have corrected the error issue.

athoomi

Hi!

I've installed the new version.

Now I have the following problem:

Calendar-Settings:
Timeslots per hour: 4

If I add an event, there is no possibility to choose eg. 7.10, only 7.00, 7.15, 7.30, 7.45 and 7.59

Any ideas?