Results 1 to 6 of 6

Thread: Display Scheduled date instead of modification date

  1. #1
    TSA
    TSA is offline Member
    Join Date
    Aug 2009
    Posts
    7

    Question Display Scheduled date instead of modification date

    Hi

    When listing the history and the todo task of an account (or a projet), the actions are displayed sorted by modification date.

    How to display the scheduled date instead of the modification date ?

    Thanks a lot

  2. #2
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: Display Scheduled date instead of modification date

    Not using Studio ... you'll have to customise the code for this

  3. #3
    darcy.rippon is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    121

    Default Re: Display Scheduled date instead of modification date

    Can you point us in the right direction for code modification for the sorting of the data?

    I'm in CE 5.2h on RHEL, PHP, MYSQL, ETC.

  4. #4
    xiaoliang is offline Junior Member
    Join Date
    Oct 2009
    Posts
    2

    Default Re: Display Scheduled date instead of modification date

    I think so!good!

    Quote Originally Posted by salesagility View Post
    Not using Studio ... you'll have to customise the code for this
    Skin CarePVC HoseWholesale Picture FramesFrontline CatWire Harness

  5. #5
    jfuller70 is offline Sugar Community Member
    Join Date
    Feb 2007
    Posts
    55

    Default Re: Display Scheduled date instead of modification date

    We want to do the same thing. Under history we see start date (meetings)

  6. #6
    datasponge is offline Sugar Community Member
    Join Date
    Mar 2008
    Location
    San Jose, CA, USA
    Posts
    553

    Default Re: Display Scheduled date instead of modification date

    Hi all,

    I just got this working to display key fields in place of date_modified. Specifically:

    date_start for Calls
    date_sent for Emails
    date_start for Meetings
    date_due for Tasks
    note_date for Notes (a custom field with the actual date of the activity)

    These threads were the most helpful:

    http://www.sugarcrm.com/forums/showt...subpanels+date

    and

    http://www.sugarcrm.com/forums/showt...ighlight=alias

    Note in the second thread the use of the alias and the sort_by lines in every field definition in his ForOppsHistory subpanel. By using date_modified as the alias name, you save lots of hassles.

    The basic steps are:

    1. Create a new header label if desired
    2. Create a new subpanel by copying ForHistory.php to a new file e.g. ForNewHistory.php in each of the five modules above (see the second thread above)
    3. Extend the main module where the subpanel will appear (e.g. I extended Accounts, Contacts and Opportunities) by creating a new definition for the history subpanel in custom/Extensions/modules/Accounts/Ext/Layoutdefs/custom_subpanel.php replacing ForHistory with ForNewHistory where it appears.
    4. Repair

    Good luck.

    Phil

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Not getting right date in display
    By akkimca in forum Help
    Replies: 2
    Last Post: 2011-02-01, 04:38 AM
  2. Date field does not display the popup to select date
    By Siruss in forum Installation and Upgrade Help
    Replies: 5
    Last Post: 2008-06-06, 10:00 PM
  3. Replies: 1
    Last Post: 2007-02-16, 01:49 AM
  4. Date de modification
    By Arminian in forum Français
    Replies: 1
    Last Post: 2006-11-17, 06:53 AM
  5. Date Display on Notes
    By gorpus in forum Help
    Replies: 1
    Last Post: 2004-08-12, 04:35 AM

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
  •