Results 1 to 3 of 3

Thread: Problem: infos at company-detail view

  1. #1
    mike2009 is offline Senior Member
    Join Date
    Mar 2009
    Posts
    25

    Default Problem: infos at company-detail view

    Hello,

    I have some problem in "customizing" the shown infos.

    1. Company detail view

    below are all registers with several informations, i.e. contacts, projects ...
    One info-block is activities(maybe it is called history in English version) (in German: Verlauf)

    I see there notes, calls listed.

    My problem is, these informations are sorted by "date of change".
    I created via Studio a own field called "Ereignis", the date, when this action was performed.
    I can insert this field in every form of "calls", but where can I change the fields for this info-display ?

    Sorting by "date of change" is not useful for a history, because infos are not always stored "on the fly".

    I hope you can understand what I mean.

    Thanks for any helpful hint.

    Mike

  2. #2
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: Problem: infos at company-detail view

    There are at least 50 threads re. this topic, if I remember correctly there is even one with sort of a code sample. This has to be done in the code because the history panel is not a "normal" subpanel but aggregates three different tables.
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

  3. #3
    mike2009 is offline Senior Member
    Join Date
    Mar 2009
    Posts
    25

    Default Re: Problem: infos at company-detail view

    Thanks.
    Of course, I tried out several hints I found in the topics here.
    Nothing works, also some procedures I found in DevGuide didn't work.

    I know about the special construction of history-subpanel.

    I got 3 different resultes:
    1st: nothing happened, no changes where seen on screen
    2nd: sql-error (.... in ORDER BY statement
    3rd: I didn't see any subpanel at contacts, but no error, also in php errorlogfile on server no entry

    I changed (like described in forum) forhistory.php-files of all 5 components in history.

    My issue is:

    contacts detail-view
    -> subpanel history

    I added to all forms of the 5 modules a custom-field calles event_date_c.
    This should represent the date, when the action (call, note ...) happened.

    In the history-subpanel I want to SEE this user-field and I want to SORT by this field.

    This user-field I inserted in the php-files, I also changed the sort-criterias.
    I rebuild all relationships.

    I never got the vorrect effect.

    My best result was: the - by default - displayed field date_modified was empty on viewlist and no error occured.

    I am not a PHP-profi, but I understand php, can write compact scripts.
    But I do not understand the global structure of sugar.

    Can anyone gibe me another sorce where I can read informations about my request ?
    (maybe also a link here in forum. Several searches bring up 12 to 32 pages - I read mostly the top 10)

    Thanks.
    Mike

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 2009-03-04, 10:56 AM
  2. Field length issue in Company detail
    By worgi in forum Help
    Replies: 1
    Last Post: 2008-05-28, 11:31 AM
  3. Replies: 1
    Last Post: 2007-06-13, 06:14 PM
  4. Replies: 0
    Last Post: 2006-05-04, 01:27 AM
  5. Lead Detail View -> Compose Email Problem
    By bryanl0911 in forum Help
    Replies: 2
    Last Post: 2005-05-27, 02:09 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
  •