Results 1 to 7 of 7

Thread: need help to minimize drop down box in basic/advance search panel

  1. #1
    ddconcert is offline Member
    Join Date
    Mar 2008
    Posts
    6

    Default need help to minimize drop down box in basic/advance search panel

    Hi,


    Please give me some direction on how to minimize the large drop down box in basic/advance search panel.
    The drop down box should look like the one in Create Document/Create Account Panel.
    The large drop down box is not our preference.

    Here are the attachments for your reference.
    The Category drop down box in "large drop down box.jpg" is large.
    The Category drop down box in "small drop down box.jpg" is our preference.

    How to create the small drop down box like in Create Document, in basic/advance search panel?

    Please provide help,

    Your help will be appreciated.

    Thank you,

    Sincerely,
    Dave
    Attached Images Attached Images   
    Last edited by ddconcert; 2008-03-11 at 08:05 PM. Reason: need a lot of help

  2. #2
    ddconcert is offline Member
    Join Date
    Mar 2008
    Posts
    6

    Default Re: need help to minimize drop down box in basic/advance search panel

    Anyone??

    Please don't sit there like a potato and do nothing.

    Please help!

  3. #3
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: need help to minimize drop down box in basic/advance search panel

    Hi.

    First of all, when you ask for other people's free help you should be patient and wait for an answer that could even not come.
    People here is not "sitting like potatoes doing nothing".

    Coming to your question,
    what you call "the large dropdown" is a Multiselect field, which is a field that allows to select more than one value at a time, while a dropdown allow single selections only.
    If you want that field to appear as a dropdown, you have to build it and hide the other, then arrange views.
    I suggest you to read Sugar's manual, there is a sections about the many different fields.
    What do you think the cookie monster eats ?

  4. #4
    ddconcert is offline Member
    Join Date
    Mar 2008
    Posts
    6

    Default Re: need help to minimize drop down box in basic/advance search panel

    Hi DragonFly,

    Thank you for your answer.
    Could you or any sugar expert post some information on how to change the multi-select to a drop down box?



    Sincerely,
    Dave
    Last edited by ddconcert; 2008-03-13 at 01:19 PM.

  5. #5
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: need help to minimize drop down box in basic/advance search panel

    You have to build a dropdown, fill it with a list of values, then hide the multiselect field.
    But first go here:
    http://www.sugarcrm.com/crm/support/documentation
    locate the page according to the version you are using and download the manuals.
    Many questions are answered in the manuals, so please take a look at them.
    What do you think the cookie monster eats ?

  6. #6
    SugarCoated83 is offline Junior Member
    Join Date
    Feb 2009
    Posts
    1

    Default Re: need help to minimize drop down box in basic/advance search panel

    Hi all, same problem here ..... and i tried to modify the drop down panel, but its not changing ...... I'm using sugar 5.2 community edition .... please help .....

  7. #7
    shamimwilson is offline Sugar Community Member
    Join Date
    Mar 2009
    Location
    Banglore India
    Posts
    235

    Default Re: need help to minimize drop down box in basic/advance search panel

    Hi,

    If you want to change the multi select drop down in the search panel
    then go to the custom/modules/<module name>/metadata/searchdefs.php.

    then add the following line
    'displayParams' => array('size' => 1),

    for example you want to convert the account_type drop down in Accounts modules..

    'account_type' =>
    array (
    'name' => 'account_type',
    'label' => 'LBL_TYPE',
    'default' => true,
    'displayParams' => array('size' => 1),
    ),


    Then quick repair and rebuild

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Manually drop scheme (5.0 upgrade) ?
    By niallhannon in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2008-01-07, 05:41 PM
  2. Advanced Search Panel
    By boratti in forum Feature Requests
    Replies: 3
    Last Post: 2008-01-03, 08:38 PM
  3. advanced search box in Accounts module
    By allenl in forum Help
    Replies: 0
    Last Post: 2007-10-18, 10:03 AM
  4. dynamic drop down box
    By baziz1 in forum Developer Help
    Replies: 1
    Last Post: 2007-04-26, 06:19 AM
  5. New search box on 'view' pages
    By psdavec in forum Feature Requests
    Replies: 1
    Last Post: 2006-07-26, 04:54 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
  •