Results 1 to 3 of 3

Thread: Help customize contacts module

  1. #1
    gtg182s is offline Member
    Join Date
    Jun 2008
    Posts
    11

    Default Help customize contacts module

    I've create a table 'preferences' with columns id, data, comments

    and table 'contacts_preferences' with column id, contact_id, preference_id.

    What I want is whenever I visit
    http://localhost/sugarcrmce/index.ph...&record=someID

    It display all preference of some contact. (just for testing purpose)

    How do I do it? Do I create a contacts_preferences relationship in contacts/vardef.php?

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

    Default Re: Help customize contacts module

    could you get this to work with custom fileds instead of adding the table!

    Sounds like what you would need si to think of the preferences as a module and add the link to the contacts. Use 5.1 or try to follow the Wiki for 5.0

    Have fun, Why is this needed really?
    Paris

  3. #3
    gtg182s is offline Member
    Join Date
    Jun 2008
    Posts
    11

    Default Re: Help customize contacts module

    Really I dont need preferences to be a module. Preferences are created/viewed in Contacts module, no where else. I can't create a custom field because the data schema is some what defined, given to me by someone.

    I want to do it in vardef, just like getting account_name

    'account_name' =>
    array (
    'name' => 'account_name',
    'rname' => 'name',
    'id_name' => 'account_id',
    'vname' => 'LBL_ACCOUNT_NAME',
    'join_name'=>'accounts',
    'type' => 'relate',
    'link' => 'accounts',
    'table' => 'accounts',
    'isnull' => 'true',
    'module' => 'Accounts',
    'dbType' => 'varchar',
    'len' => '255',
    'source' => 'non-db',
    'unified_search' => true,
    ),

    The difference is I dont want to get just one field like account_name, I want to get rest too.

    Thanks,
    Tri




    Quote Originally Posted by ptemplin7
    could you get this to work with custom fileds instead of adding the table!

    Sounds like what you would need si to think of the preferences as a module and add the link to the contacts. Use 5.1 or try to follow the Wiki for 5.0

    Have fun, Why is this needed really?
    Paris

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Customize a field in Calls Module
    By jlabuelo in forum Developer Help
    Replies: 2
    Last Post: 2008-07-14, 08:04 AM
  2. How customize the Manufacturers module
    By elvinjoe in forum Developer Help
    Replies: 1
    Last Post: 2008-02-22, 01:34 AM
  3. Replies: 3
    Last Post: 2007-10-05, 06:54 PM
  4. Replies: 1
    Last Post: 2006-11-02, 12:59 AM
  5. Adding The Account Sub Panel Module To Contacts
    By SponjWorthy in forum General Discussion
    Replies: 2
    Last Post: 2005-10-28, 10: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
  •