Closed Thread
Page 4 of 9 FirstFirst ... 2 3 4 5 6 ... LastLast
Results 31 to 40 of 89

Thread: RoundCube Calendar (jQuery Calendar)

  1. #31
    zlp
    zlp is offline Roundcube Newcomer
    Join Date
    Feb 2010
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default calendar event timing is wrong

    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

  2. #32
    Lazlo is offline Registered User
    Join Date
    May 2007
    Posts
    41
    Downloads
    0
    Uploads
    0

    Default

    Please try the latest development version: LazloNL's roundcube-calendar at master - GitHub

    There were some timezone changes.

  3. #33
    xrxca is offline Registered User
    Join Date
    Oct 2008
    Posts
    22
    Downloads
    2
    Uploads
    0

    Default

    The version from GitHub fixed the timeout issues I was having, but the code to get the skin directory is a problem,
    PHP Code:
        // add styles
        
    $skin $rcmail->config->get('skin');
        
    $this->include_stylesheet($skin 'calendar.css'); 
    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.

    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)

    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);
      } 
    Then the above becomes:
    PHP Code:
        // add styles
        
    $skin =  $this->skinPath();
        
    $this->include_stylesheet($skin 'calendar.css'); 
    or more succently:
    PHP Code:
    $this->include_stylesheet($this->skinPath('calendar.css')); 
    Last edited by xrxca; 02-10-2010 at 10:15 PM.

  4. #34
    zlp
    zlp is offline Roundcube Newcomer
    Join Date
    Feb 2010
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default still busted

    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?
    Attached Images

  5. #35
    xrxca is offline Registered User
    Join Date
    Oct 2008
    Posts
    22
    Downloads
    2
    Uploads
    0

    Default

    Quote Originally Posted by zlp View Post
    I made the changes suggested by xrxca and the icon came back but the formatting is still wrong. (screenshot attached)
    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:
    PHP Code:
        $skin $rcmail->config->get('skin');
        
    $this->include_stylesheet($skin 'jquery-ui.css');
        
    $this->include_stylesheet($skin 'fullcalendar.css'); 
    To:
    PHP Code:
        $skin =  $this->skinPath();
        
    $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.

  6. #36
    batemice is offline Roundcube Newcomer
    Join Date
    Jan 2010
    Location
    Bulgaria
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default

    Here's a Bulgarian translation for the plugin
    Attached Files

  7. #37
    Lazlo is offline Registered User
    Join Date
    May 2007
    Posts
    41
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by batemice View Post
    Here's a Bulgarian translation for the plugin
    Added translation to development version. Thank you.

  8. #38
    Lazlo is offline Registered User
    Join Date
    May 2007
    Posts
    41
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by zlp View Post
    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?
    Check out latest development version. I think the skin problem is fixed now.

  9. #39
    zlp
    zlp is offline Roundcube Newcomer
    Join Date
    Feb 2010
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default

    (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.

  10. #40
    Lazlo is offline Registered User
    Join Date
    May 2007
    Posts
    41
    Downloads
    0
    Uploads
    0

    Default

    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!

Closed Thread
Page 4 of 9 FirstFirst ... 2 3 4 5 6 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts