Results 1 to 6 of 6

Thread: Help with content on the Calendar

  1. #1
    routledge is offline Sugar Community Member
    Join Date
    Jan 2008
    Location
    London
    Posts
    98

    Red face Help with content on the Calendar

    Here is the system info: Red Hat Linux Server, Sugar version 5.0.0CE.

    Ok everyone, I would like to add more fields on the Day calendar view. At the moment I can only see the activity 'Status' and the 'Subject' fields. I would love to show a more info such at the 'Contact' field. Can any one help me with this frustrating little issue.

    Kindest regards

    John

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Help with content on the Calendar

    Hi John

    You need to override the scripts include/utils/activity_utils.php and modules/Calendar/templates/templates_calendar.php

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    routledge is offline Sugar Community Member
    Join Date
    Jan 2008
    Location
    London
    Posts
    98

    Smile Re: Help with content on the Calendar

    Hi Andre

    Will play about with those and let all in here know how I get on. Once again many thanks.

    John

  4. #4
    routledge is offline Sugar Community Member
    Join Date
    Jan 2008
    Location
    London
    Posts
    98

    Default Re: Help with content on the Calendar

    Hi Andre

    Thanks for this previous post it worked great.

    I have another little issue however, I currently have two systems running, sugarcrm and another in-house system. The in-house system is very complex as is the database attached to it. I would like to read and write to this database from my sugar instance, what in your opinion is the best way to do this. I use a combination of custom fields and standard sugar fields and all I want to do is link them up to the external database.
    I’m using 5.0.0f CE, Apache, MySQL , Debian server. Plus the databases are both on the same machine. I had noticed one of your previous posts and found the following code, If this is applicable please let me know.
    function retrieve($id) {
    parent::retrieve($id);

    integrateOnRetrieve();

    return $this;
    }

    function integrateOnRetrieve() {
    /*
    write your integration code here.
    Code to save data into external databse on retrieving some record from SugarCRM database
    */
    }

    function save($check_notify = false) {
    parent::save($check_notify);

    integrateOnSave();

    return $this->id;
    }

    function integrateOnSave() {
    /*
    write your integration code here.
    Code to retrieve data from external databse on saving some record into SugarCRM database
    */
    }
    Kind regards
    John

  5. #5
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Help with content on the Calendar

    Hi John

    I think it is better to discuss by skype.
    Ping me on skype 'andopes' to discuss that.
    Integration procedures always are related to several variables and it may take some time to understand the big picture and suggest an efficient solution.

    Kind regards
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  6. #6
    routledge is offline Sugar Community Member
    Join Date
    Jan 2008
    Location
    London
    Posts
    98

    Default Re: Help with content on the Calendar

    Hi Andre

    Thank you for the invite, i'll do that now

    Regards

    John

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. custom calendar entry & custom calendar view
    By waverider in forum Developer Help
    Replies: 4
    Last Post: 2010-07-23, 09:07 AM
  2. Persian Calendar
    By ehsun7b in forum Developer Help
    Replies: 3
    Last Post: 2010-01-24, 09:17 PM
  3. Shared Calendar
    By DanBrown in forum Help
    Replies: 2
    Last Post: 2008-12-24, 11:42 AM
  4. Replies: 0
    Last Post: 2007-06-11, 05:05 PM
  5. Replies: 1
    Last Post: 2005-11-29, 05:49 PM

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
  •