Please try the latest development version: LazloNL's roundcube-calendar at master - GitHub
There were some timezone changes.
Hi. Thanks for a great plugin.
When I add an event to the monthly view, it shows up on the day before. (the database contains this erroneous date too - it's not just a display problem). When I add an event to the weekly or daily view, it appears on the correct day but 2 hours earlier than intended. When I drag it to a new time, it appears 2 hours before the time where I drop it.
Regarding the timezone problem from a previous post: My client and server are in different time zones (server is GMT -8, client is GMT -6) but it is currently 12PM, so I don't understand why the day is wrong too.
my info:
Calendar 0.2 beta
Roundcube 0.3.1
I applied both patches mentioned by Lacri:
RoundCube Calendar (jQuery Calendar)
http://www.roundcubeforum.net/7-thir...html#post25408
Please try the latest development version: LazloNL's roundcube-calendar at master - GitHub
There were some timezone changes.
The version from GitHub fixed the timeout issues I was having, but the code to get the skin directory is a problem,
What your doing here is getting the current skin name and using it whether the skin exists for the calendar plugin or not and it is missing a / as well.PHP Code:// add styles
$skin = $rcmail->config->get('skin');
$this->include_stylesheet($skin . 'calendar.css');
Would probably be better with something like this (basically taken from local_skin_path which has never worked for me under anything but the actual mail page)
Then the above becomes:PHP Code:function skinPath($skinfile = '') {
$rcmail = rcmail::get_instance();
$skin_path = 'skins/'.$rcmail->config->get('skin');
if (!is_dir(realpath(slashify($this->home) . $skin_path)))
$skin_path = 'skins/default';
return($skin_path . '/' . $skinfile);
}
or more succently:PHP Code:// add styles
$skin = $this->skinPath();
$this->include_stylesheet($skin . 'calendar.css');
PHP Code:$this->include_stylesheet($this->skinPath('calendar.css'));
Last edited by xrxca; 02-10-2010 at 10:15 PM.
I tried the GitHub version and the calendar formatting went crazy. (calendar icon was now the same as email icon, no table gridlines, just a jumble of numbers in the center of the screen.)
I made the changes suggested by xrxca and the icon came back but the formatting is still wrong. (screenshot attached)
I've never uses GitHub, so maybe I got the wrong files somehow?
There is more than one place the change needs to be done:
The above change needs to be done as well as the following (sorry I should have been clearer)
From:
To:PHP Code:$skin = $rcmail->config->get('skin');
$this->include_stylesheet($skin . 'jquery-ui.css');
$this->include_stylesheet($skin . 'fullcalendar.css');
And the skinPath function isn't necessarily the best, it should really check the existence of the actual file in the custom skin directory and be used like the second example in my prior post, but as is it works with this second change.PHP Code:$skin = $this->skinPath();
$this->include_stylesheet($skin.'jquery-ui.css');
$this->include_stylesheet($skin.'fullcalendar.css');
Here's a Bulgarian translation for the plugin![]()
(edited to reduce confusion)
Thanks xrxca and Lazlo. I can confirm that the time shifting event issues from my previous post + the skin problems are fixed in today's github version. Thanks.
Last edited by zlp; 02-11-2010 at 08:16 PM.
Just released 0.2 BETA 2: RoundCube Calendar
CHANGELOG since 0.2 BETA:
- basic event categories
- export calendar to ICS
- default view option
- several small bug fixes
@Translators,
there are some new strings to translate. New translations are welcome!
There are currently 1 users browsing this thread. (0 members and 1 guests)