Results 1 to 2 of 2

Thread: Guidelines for showing field from another module

  1. #1
    Antanas0001 is offline Sugar Community Member
    Join Date
    Aug 2007
    Location
    Lithuania
    Posts
    41

    Default Guidelines for showing field from another module

    Hello,

    We have custom module Partners and a field "Partner name". Partner module has also field "Account Name" of data type "Relate" which relates to Account module.
    We would like to display a "Partner name" field inside module Accounts module ListView. Also we would like to search by "Partner name" in Accounts module, so that Account ListView gets filtered by "Partner name" . And do sorting by "Partner name" column in Accounts module ListView. Do you have some guidelines how to accomplish all this?

    Sincerely,
    Antanas

  2. #2
    ptemplin7 is offline Sugar Community Member
    Join Date
    Jun 2007
    Location
    Puget Sound Washington
    Posts
    380

    Default Re: Guidelines for showing field from another module

    Quote Originally Posted by Antanas0001 View Post
    We would like to display a "Partner name" field inside module Accounts module ListView. Also we would like to search by "Partner name" in Accounts module, so that Account ListView gets filtered by "Partner name" . And do sorting by "Partner name" column in Accounts module ListView. Do you have some guidelines how to accomplish all this?
    s
    The developer site has info and coding on how to do this.
    There are several changes you can make via the custom directory to add these fields to the listview and make them sortable. The view.inc.php (if I remember right!) and other filoes control the behaviour of the views. Make sure you make changes int he custom directory not in the modules directory! that way they are upgrade safe.

    Also, what version of Sugar are you using? Make sure to include that info when asking these types of questions, different versions have slightly differnt behaviors and that can make a big difference in how to fix.

    Thanks PAris

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Custom field not showing in module
    By robinsan in forum Help
    Replies: 7
    Last Post: 2008-12-29, 09:50 AM
  2. Sugar Architecture, HA guidelines
    By JavaCK in forum General Discussion
    Replies: 4
    Last Post: 2008-09-02, 09:12 AM
  3. Custom Module - TextArea field data not showing
    By niconel in forum Developer Help
    Replies: 4
    Last Post: 2008-02-21, 03:47 PM
  4. New Field not showing up in module
    By etabs in forum Help
    Replies: 7
    Last Post: 2007-05-01, 05:48 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
  •