Results 1 to 5 of 5

Thread: How do I change the Size of Selection Boxes in Basic and Advanced Search?

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

    Question How do I change the Size of Selection Boxes in Basic and Advanced Search?

    First off Thanks to everyone who contributes to this Help forum - you've saved me many times. This is my first new thread.

    How do I change the height and width of the selection boxes shown in Accounts Basic and Advanced Search?

    I've attached a very artistic diagram of my conundrum.

    All assistance is appreciated.

    Thanks,

    Mark
    Attached Images Attached Images  

  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: How do I change the Size of Selection Boxes in Basic and Advanced Search?

    The vertical size can be configured adding the attribute

    PHP Code:
    'displayParams' => array(
      
    'size' => 10,
    ), 
    in the fielddefs at the searchfields.php

    The horizontal size is hardcoded into include/SugarFields/Fields/Enum/SearchView.tpl
    You can either edit this core file or copy the entire folder into a new one (Create a new Template Field) and modify this style according to your needs.

    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
    carlo75 is offline Senior Member
    Join Date
    Mar 2009
    Posts
    86

    Default Re: How do I change the Size of Selection Boxes in Basic and Advanced Search?

    Quote Originally Posted by andopes View Post
    ...

    The horizontal size is hardcoded into include/SugarFields/Fields/Enum/SearchView.tpl
    You can either edit this core file or copy the entire folder into a new one (Create a new Template Field) and modify this style according to your needs.

    Cheers
    Is the same thing for 5.5.2 CE?

    Can you provide some examples or links, on how to?

  4. #4
    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: How do I change the Size of Selection Boxes in Basic and Advanced Search?

    Unfortunately yes.

    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.

  5. #5
    carlo75 is offline Senior Member
    Join Date
    Mar 2009
    Posts
    86

    Default Re: How do I change the Size of Selection Boxes in Basic and Advanced Search?

    Ok I solved, with the help of CSS.
    I've forced the width of element <select> inside a specific div. Now all seems ok.

    Thanks for all.
    Regards

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Basic and Advanced search not working
    By mmajzoub in forum Help
    Replies: 2
    Last Post: 2009-03-31, 08:32 PM
  2. Basic/Advanced Search for a field in subpanel
    By jchinnasamy in forum Developer Help
    Replies: 5
    Last Post: 2008-12-15, 07:56 AM
  3. Basic ed advanced search
    By domenico1983 in forum Italiano
    Replies: 8
    Last Post: 2008-07-17, 08:31 AM
  4. Basic/advanced search
    By fabpenso in forum General Discussion
    Replies: 2
    Last Post: 2008-01-17, 03:14 AM
  5. Replies: 2
    Last Post: 2006-05-06, 01:24 AM

Tags for this Thread

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
  •