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

Thread: Task - Date Modified wont show on Detail Layout - corrupted?

  1. #1
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Task - Date Modified wont show on Detail Layout - corrupted?

    SugarCrm 5.0.0.c

    I was asked to add the date modified to the Tasks Detail View

    Although the field Date Modified is available in the studio, when I add it then view a task the label date modified shows but not the data

    Also there is a field 'Modified By Name' available

    I have a clean version of sugar that I looked at - on that Date Modified works perfectly and the 'Modified By Name' does not appear as an option on the Detail View

    Somehow I seem to have corrupted the EditView layout - is there a way of setting it back to the defaults?

    I tried deleteing custom/module/Tasks/metadata/detailviewdefs.php but that made no difference

    Interestingly the date modified works perfectly on the list view

    Any help would be appreciated

  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: Task - Date Modified wont show on Detail Layout - corrupted?

    Hi, Mike.

    If you had no customize the editviewdefs.php then you can just copy this file from a clean installation for this one.

    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
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Task - Date Modified wont show on Detail Layout - corrupted?

    Andre

    That was the first thing I tried

    Unfortunately it didnt work

    What happens is that the date modified field displays the modified by name but not the date

    On the clean copy the date modified field on detail view is a combination of date modified & modified by and this is what appears to have broken

    If after copying the clean copy I go into studio my old version still show there !!

    Do you know where studio reads its templates from?

  4. #4
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Task - Date Modified wont show on Detail Layout - corrupted?

    Quote Originally Posted by mikesolomon
    Andre

    That was the first thing I tried

    Unfortunately it didnt work

    What happens is that the date modified field displays the modified by name but not the date

    On the clean copy the date modified field on detail view is a combination of date modified & modified by and this is what appears to have broken

    If after copying the clean copy I go into studio my old version still show there !!

    Do you know where studio reads its templates from?
    Now got studio and template in sync

    But the problem is still happening

    Interestingly date_modified appears twice in studio when I edit the detailview - If I put both on the layout one just shows the label & the other just the user

  5. #5
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Task - Date Modified wont show on Detail Layout - corrupted?

    Fixed it

    There were to versions of date_modified showing - I added both to the form then removed one and now it works

    Still fairly confused about what caused it but I am now much happier

  6. #6
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: Task - Date Modified wont show on Detail Layout - corrupted?

    Hi, if you have no customization at all,
    you can remove \custom\modules\Tasks and \custom\working\modules\Tasks if they exist (Just rename them the first time, it's safer...If it works then remove them)
    After that, go in Admin->Repair->Clear Template Data Cache and then Admin->Repair->Rebuild Relationships
    What do you think the cookie monster eats ?

  7. #7
    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: Task - Date Modified wont show on Detail Layout - corrupted?

    Hi, Mike.

    Try the following;
    In the Admin -> System Settings -> Developer mode (set checked).

    Save and try again the layout.
    After that, restore the Developer Mode to unchecked.

    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.

  8. #8
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Task - Date Modified wont show on Detail Layout - corrupted?

    Quote Originally Posted by DragonflyMaster
    Hi, if you have no customization at all,
    you can remove \custom\modules\Tasks and \custom\working\modules\Tasks if they exist (Just rename them the first time, it's safer...If it works then remove them)
    After that, go in Admin->Repair->Clear Template Data Cache and then Admin->Repair->Rebuild Relationships
    Unfortunately I have quite a lot of customization

  9. #9
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Task - Date Modified wont show on Detail Layout - corrupted?

    Quote Originally Posted by andopes
    Hi, Mike.

    Try the following;
    In the Admin -> System Settings -> Developer mode (set checked).

    Save and try again the layout.
    After that, restore the Developer Mode to unchecked.

    Cheers
    What does developer mode do?

    Having got it fixed in the Dev I'm now trying in the live - so far no joy

  10. #10
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: Task - Date Modified wont show on Detail Layout - corrupted?

    Quote Originally Posted by mikesolomon
    Unfortunately I have quite a lot of customization
    Then you could just rename those custom folders and clear template cache / rebuild relationships and see if you still have the problem.
    If not, there is something wrong in your custom files; in that case, to find out where exactly is the problem, you'll have to take a look at every single file inside those custom folders.
    What do you think the cookie monster eats ?

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)

Similar Threads

  1. Replies: 2
    Last Post: 2008-01-31, 02:24 AM
  2. Calendar Task Date 01-01-2000
    By dalty52 in forum Developer Help
    Replies: 4
    Last Post: 2007-05-30, 01:07 AM
  3. Replies: 2
    Last Post: 2006-12-08, 04:19 AM
  4. Project Task due date requirement
    By dschaefer in forum Feature Requests
    Replies: 0
    Last Post: 2006-02-03, 07:08 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
  •