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

Thread: make a custom search in pop-up contacts search?????

  1. #1
    ezcurrax is offline Sugar Community Member
    Join Date
    Apr 2008
    Location
    Spain
    Posts
    194

    Red face make a custom search in pop-up contacts search?????

    i have a problem with a form that appears as a pop-up and don`t appears in the module studio and can`t change by this way, the question is .... ¿what files i have to modify to make a search by my custom fields....? the pop - up appears in the section campaigns, select a campaign, then select a target list and then appears 4 section in the list : target , contacts - leads and users ,in the section contacts click on "select" and appears the pop-up i have to modify.... my work is the next..... i have a big list of contacts and we need to make a search by our custom fields this pop-up has the next adress:"http://localhost/SugarCE50bueno/index.php?module=Contacts&action=Popup&hide_clear_ button=true&mode=MultiSelect&create=true&metadata= undefined"
    and the next url reference ="http://localhost/SugarCE50bueno/index.php?module=ProspectLists&action=DetailView&r ecord=2f54be3f-21f7-ae35-c839-47fb2a2bd5df&parent_module=Campaigns&parent_id=d0e 7c05e-8b1f-ee14-a22d-47fb2a24db5b&return_module=Campaigns&return_id=d0e 7c05e-8b1f-ee14-a22d-47fb2a24db5b&return_action=DetailView"
    this fields can`t change with studio , i think i have to modify manually but i`m not sure....
    have i to modify querys? or only with add the fields is ok???
    i`m new in this and the beginings are very dificults...
    any information about this problem is good...
    my english is not very good... i`m spanish thanks... for your help....

  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: make a custom search in pop-up contacts search?????

    Hi, ezcurrax

    The definitions for popup is in modules/ModuleName/metadata/popupdefs.php.
    This is in Sugar 5.0
    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
    vbondoux is offline Sugar Community Member
    Join Date
    Feb 2007
    Posts
    50

    Default Re: make a custom search in pop-up contacts search?????

    I think that for the contact popup it's special. I try since few days to add a new custom field in the form, but the popup_picker.php of contacts folder seems not be called by the function of popup.
    If you have a solution.

    A had to popupdefs.php : 'primary_address_street', in the array 'searchdefs' => array(

    Nothing happen

    But I had :
    'primary_address_street' => array(
    'width' => '10%',
    'label' => 'LBL_PRIMARY_ADDRESS_STREET',
    'default' => true),

    And a new column appeared in the table of result...

    Please Help

  4. #4
    Hauke is offline Sugar Community Member
    Join Date
    Apr 2007
    Location
    Germany, State of Hessen, Bad Camberg
    Posts
    26

    Default Re: make a custom search in pop-up contacts search?????

    Hi,

    I want to join this club, as I'm searching for this exact solution since last December. There were no propositions to my thread at that time.

    Please can someone help us with an exact description, not just a guess?

    Crossing the fingers and regards,

    Hauke

  5. #5
    vbondoux is offline Sugar Community Member
    Join Date
    Feb 2007
    Posts
    50

    Default Re: make a custom search in pop-up contacts search?????

    Hauke thank you, I was felling alone
    What I can say today, it's easy to change the account popup, but the contact popup is most harder in the Sugar CRM 5.00e version. I think it's because if you can change this popup, it's very simple to manage campaign (maybe they try to block that in the opensource version...)
    I work this afternoon on that, If I have a result I tell you.

    Vince

  6. #6
    Hauke is offline Sugar Community Member
    Join Date
    Apr 2007
    Location
    Germany, State of Hessen, Bad Camberg
    Posts
    26

    Default Re: make a custom search in pop-up contacts search?????

    Hi Vince, yes please, do so. I'll private message you some hints I got by the time, but they were not precise enough to do the trick. My knowledge is constrained on thml only and I've no time to dig into Sugar.

    Best regards,

    Hauke

  7. #7
    jpjanze is offline Member
    Join Date
    Aug 2008
    Posts
    6

    Default Re: make a custom search in pop-up contacts search?????

    If you guys can solve this, you will make a lot of people very happy including myself! Keep me posted and let me know if I can help with your solution - I am not a developer, but can find my way around html ok.I would really like to know how you make out with this one!

  8. #8
    Hauke is offline Sugar Community Member
    Join Date
    Apr 2007
    Location
    Germany, State of Hessen, Bad Camberg
    Posts
    26

    Default Re: make a custom search in pop-up contacts search?????

    ..well for now, we have no solution. This particular issue seems to be a holy grail and Sugar obviously wants to keep it locked.

    Perhaps we'll see it before the IPO of Sugar

  9. #9
    Baldinato is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    23

    Default Re: make a custom search in pop-up contacts search?????

    Quote Originally Posted by Hauke
    ..well for now, we have no solution. This particular issue seems to be a holy grail and Sugar obviously wants to keep it locked.

    Perhaps we'll see it before the IPO of Sugar
    Hi to all!!!!!

    I think I found the right and really easy solution for you trouble...

    Well, first of all you had to create with studio the new field...normally Sugar add this field to all search form but not in the popup window....our trouble...so...what can we do????...Easy, if you look inside \Sugar\modules\Contacts\metadata\searchdefs.php you can see your new field...take its name,for example: female_c, I take this beacuse I create two new fields to filter my contacts by their gender...now open \Sugar\modules\Contacts\metadata\popupdefs.php, and the end of the file you can see 'searchdefs'=>array(.....) inside this add the name, female_c. Delete the cache from the root, reload the page....it's all ok in the popup, this is the pover of MVC pattern...

    bye bye

    christian

    PS sorry for my english
    PSS give me a feedback please ;-)

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

    Default Re: make a custom search in pop-up contacts search?????

    Doesn't work

    Any other ideas?
    Got the Version 5.02c

    Thank you

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: 0
    Last Post: 2006-09-22, 06:26 AM
  2. Replies: 1
    Last Post: 2006-07-29, 09:50 AM
  3. Asterisk Patch 1.1.0 Crash on logon
    By skyracer in forum Help
    Replies: 6
    Last Post: 2006-07-08, 06:30 AM
  4. custom numeric field in advance search
    By searocket in forum Help
    Replies: 0
    Last Post: 2006-01-10, 10:20 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
  •