Thread: Drop Down Size

Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2007
    Posts
    16
    Plugin Contributions
    0

    Default Drop Down Size

    This should be so simple, but it is driving me nuts. I want to change the size of the 'manufacturers' drop down from the default (3) to 1.

    Could someone point me in the right direction? I have already spent a lot of time, hard coded 1, only to find that it was pre-filling the value from elsewhere.


    function zen_draw_pull_down_menu($name, $values, $default = '', $parameters = '', $required = false) {
    $field = '<select size="1" name="' . zen_output_string($name) . '"';

    if (zen_not_null($parameters)) $field .= ' ' . $parameters;

    $field .= '>' . "\n";

    Thanks much.

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Drop Down Size

    and you are having trouble doing it in the Admin???
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Mar 2007
    Posts
    16
    Plugin Contributions
    0

    Default Re: Drop Down Size

    Kim,

    I am having trouble finding where to change the setting value from 3 to 1. The drop down is populating from an array, but I can't seem to locate where the array is pulling the value from.

    Thanks for any help.

    roblaw

  4. #4
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Drop Down Size

    Perhaps...

    admin/configuration/Maximum Values/Manufacturers List - Scroll Box Size/Style?

    Or not. In Admin it's sometimes hard to tell what things do until you try them.

    Rob

  5. #5
    Join Date
    Mar 2007
    Posts
    16
    Plugin Contributions
    0

    Default Re: Drop Down Size

    rstevenson,

    Thank you very much. That was it. I am not sure how I missed the setting.

    roblaw
    Superior Cigar

 

 

Similar Threads

  1. v138a Adding a Size drop down filter
    By Cookiepus in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 21 May 2012, 11:54 AM
  2. adding size drop down box
    By powelli in forum Customization from the Admin
    Replies: 2
    Last Post: 24 Nov 2009, 04:28 AM
  3. Help! Creating size drop down menu
    By pce.photography in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Oct 2009, 03:01 PM
  4. Manufacturers Drop Down Box Size
    By dwessell in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 10 Apr 2008, 03:05 PM
  5. Drop down text size
    By justaddwords in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 19 Nov 2007, 06:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg