Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Patch : shared calendar by month

  1. #1
    aymeric is offline Sugar Community Member
    Join Date
    Jun 2006
    Posts
    32

    Arrow PATCH : shared calendar by month

    I developed a new view of shared calendar by month. This one print all meetings beetwen 8:00 and 19:00. Morever this view permit to compare quickly the disponibilities of each users.

    Screenshots:


    Download:
    Patch shared calendar by month 0.1

    Thanks to post your feed back.
    Last edited by aymeric; 2006-07-31 at 10:56 AM.
    Aymeric

    SII Compagny created SearchDoc module, SearchCandidates module, and SharedCalendarByMonth patch.

  2. #2
    andydreisch's Avatar
    andydreisch is offline Sugar Team Member
    Join Date
    Apr 2005
    Location
    San Jose
    Posts
    2,080

    Default Re: Patch : shared calendar by month

    Hi aymeric, we approved the SugarForge project for you here. This looks very interesting.

    As a reminder to everyone, over the next few months as part of an infrastructure upgrade we'll be moving more of the module download handling over to SugarForge. This will leave this forum for small DLs like bug fixes and the like.

    Andy
    Andy Dreisch
    Vice President, Online Team


    Check out our Podcasts!
    Sugar University for training
    Sugar Wiki for developer and user help
    SugarForge for modules, themes, lang packs
    SugarExchange for production-ready extensions
    Enter/view bugs via the Sugar bug tracker

  3. #3
    aymeric is offline Sugar Community Member
    Join Date
    Jun 2006
    Posts
    32

    Default Re: Patch : shared calendar by month

    Version 0.2 of Shared calendar by month

    Changements :
    - patch is uninstallable
    - hide of week end
    - title "Aditionnal details" is replaced by the complete name of user

    Screentshot:
    Last edited by aymeric; 2006-08-01 at 09:29 AM.
    Aymeric

    SII Compagny created SearchDoc module, SearchCandidates module, and SharedCalendarByMonth patch.

  4. #4
    aymeric is offline Sugar Community Member
    Join Date
    Jun 2006
    Posts
    32

    Default Re: Patch : shared calendar by month

    An important correction of a not blocking bug are avaible on SugarForge.

    Download : http://www.sugarforge.org/projects/sharedbymonth/
    Aymeric

    SII Compagny created SearchDoc module, SearchCandidates module, and SharedCalendarByMonth patch.

  5. #5
    ttlinna is offline Sugar Community Member
    Join Date
    Oct 2005
    Posts
    66

    Default Re: Patch : shared calendar by month

    I don't know what went wrong, but I couldn't get it working.

    Error says:
    [QUOT E]
    Fatal error: Call to a member function on a non-object in /var/www/Sugarcrm/modules/Calendar/Calendar.php on line

    //construction de la requete
    $where=$table_rel.".user_id='".$user->id."' " .
    "AND (" .
    db_convert($table.".date_start",'date_format',arra y("'%Y-%m-%d'"),array("'YYYY-MM-DD'")). ">='".$start_search_date."' " .
    "AND ".db_convert($table.".date_start",'date_format',ar ray("'%Y-%m-%d'"),array("'YYYY-MM-DD'"))."<='".$date_wet_end->get_mysql_date()."' ".
    ")" .
    "AND ".$table_rel.".accept_status != 'decline'";

    [/QUOTE]
    I'm running Sugar 4.2.1b on LAMP.

  6. #6
    nmpaulcp is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    38

    Default Re: Patch : shared calendar by month

    Hello I tried installing the patch and ended up with the same error. I reinstalled a copy of the sugarcrm folder and got the program running correctly again but when I tried to update to 4.5.0.C I am getting this error message

    Warning: main(C:/Program Files/xampp/htdocs/Sugarcrm/cache/upload/upgrades/patch/Patch_SharedCalendarByMonth_v1.1-manifest.php): failed to open stream: No such file or directory in C:\Program Files\xampp\htdocs\Sugarcrm\modules\UpgradeWizard\ index.php on line 181

    Fatal error: main(): Failed opening required 'C:/Program Files/xampp/htdocs/Sugarcrm/cache/upload/upgrades/patch/Patch_SharedCalendarByMonth_v1.1-manifest.php' (include_path='.;C:\Program Files\xampp\php\pear\') in C:\Program Files\xampp\htdocs\Sugarcrm\modules\UpgradeWizard\ index.php on line 181

  7. #7
    HenrikE is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    94

    Default Re: Patch : shared calendar by month

    Does it work with sugar 4.5d?

  8. #8
    ttlinna is offline Sugar Community Member
    Join Date
    Oct 2005
    Posts
    66

    Default Re: Patch : shared calendar by month

    Quote Originally Posted by ttlinna
    I don't know what went wrong, but I couldn't get it working.

    Error says:
    [QUOT E]
    Fatal error: Call to a member function on a non-object in /var/www/Sugarcrm/modules/Calendar/Calendar.php on line

    //construction de la requete
    $where=$table_rel.".user_id='".$user->id."' " .
    "AND (" .
    db_convert($table.".date_start",'date_format',arra y("'%Y-%m-%d'"),array("'YYYY-MM-DD'")). ">='".$start_search_date."' " .
    "AND ".db_convert($table.".date_start",'date_format',ar ray("'%Y-%m-%d'"),array("'YYYY-MM-DD'"))."<='".$date_wet_end->get_mysql_date()."' ".
    ")" .
    "AND ".$table_rel.".accept_status != 'decline'";

    Still having the same problem. Now running on 4.5.0c and LAMP.

    Apache2, PHP 4.3.1 and Mysql 4.1.11. The error is on line 696 and does seem to be function db_convert. Is this PHP, MySQL or SugarCRM related function?

  9. #9
    prismusa is offline Sugar Community Member
    Join Date
    Aug 2006
    Posts
    10

    Default Re: Patch : shared calendar by month

    Hello,

    Doe sthis work with 4.5 Pro? Seems not - -error msg is "not built for this version"
    Also, is this installed via the Module Loader? Or an an Upgrade?

    This looks useful for us.

    Tks for any help,
    Ananth
    Last edited by prismusa; 2007-01-08 at 01:02 PM. Reason: Removed e-mail address (fear of SPAM)

  10. #10
    ssch is offline Sugar Community Member
    Join Date
    Aug 2005
    Posts
    34

    Default Re: Patch : shared calendar by month

    i use sugar 450h Os and don,'t work when i install it over the module loader i don't have any calendar

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Bookmarks

Posting Permissions

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