Results 1 to 5 of 5

Thread: Customizing search Criteria in contact popup in Module Target List

  1. #1
    Freddl is offline Junior Member
    Join Date
    Apr 2009
    Posts
    3

    Default Customizing search Criteria in contact popup in Module Target List

    Hello everybody,

    After the creation of a new target area i wanted to add some contacts to my target list.

    There are only 7 default criterias which i can select when i open the contact popup:

    Firstname
    Lastname
    Account name
    Title
    Lead source
    Campaign
    Assigned to

    I want to add a additional field, or remove an existing field, but how?

    I searched through the whole forum and tried a lot of things, but without satisfactory result :-(

    So, i hope you can help me!

    Kind regards,
    Fred

  2. #2
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: Customizing search Criteria in contact popup in Module Target List

    It's in metadata/popupdefs.php
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

  3. #3
    Freddl is offline Junior Member
    Join Date
    Apr 2009
    Posts
    3

    Default Re: Customizing search Criteria in contact popup in Module Target List

    Thanks for reply!

    I have tried to edit the modules\Contacts\metadata\popupdefs.php without any result
    I added:


    'searchdefs' => array(
    'salutation'
    'newfield1'
    'newfield2'

    'first_name',
    'last_name',
    array('name' => 'account_name', 'displayParams' => array('hideButtons'=>'true', 'size'=>30, 'class'=>'sqsEnabled sqsNoAutofill')),
    'title',
    'lead_source',
    array('name' => 'campaign_name', 'displayParams' => array('hideButtons'=>'true', 'size'=>30, 'class'=>'sqsEnabled sqsNoAutofill')),
    array('name' => 'assigned_user_id', 'type' => 'enum', 'label' => 'LBL_ASSIGNED_TO', 'function' => array('name' => 'get_user_array', 'params' => array(false))),

    The result is the exactly the same like before, did i make anythink wrong?

    Maybe it has something to do with the version 5.0.2c?

    Please reply!

    Best greetings
    Fred

  4. #4
    FishGuts is offline Senior Member
    Join Date
    Apr 2009
    Posts
    26

    Default Re: Customizing search Criteria in contact popup in Module Target List

    I don't know if you still need help or not, but did you remember to put a comma after each entry?

    'salutation',
    'newfield1',
    'newfield2',

  5. #5
    vishwasrao's Avatar
    vishwasrao is offline A Prolific Poster
    Join Date
    Sep 2008
    Location
    Pune,Maharashtra,India
    Posts
    385

    Smile Re: Customizing search Criteria in contact popup in Module Target List

    Hi ,
    See popupdefs.php for Accounts Module & do accordingly
    May this help u.
    Vishwasrao Salunkhe
    vishwasrao.salunkhe@gmail.com
    Fan Of Sachin Tendulkar
    Operating System :- Windows XP
    PHP Version:- 5.3
    Apache :-2.2.11
    MYSQL :-5.1.36

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. use custom field account to search contact in target list
    By Beranrdi in forum Developer Help
    Replies: 9
    Last Post: 2010-07-30, 04:12 AM
  2. Add additional search criteria to target lists popup
    By jklossner in forum Developer Help
    Replies: 6
    Last Post: 2009-06-27, 09:34 AM
  3. Target list popup contact search
    By arasdeveloper2 in forum Help
    Replies: 0
    Last Post: 2009-02-04, 10:01 AM
  4. Replies: 0
    Last Post: 2008-04-16, 06:27 AM
  5. Workaround for adding contact to target list by criteria
    By steffenjung in forum Marketing/Campaign Management
    Replies: 6
    Last Post: 2007-12-12, 05:32 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
  •