Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Change dropdown list to scrollable box

    When editing products, how can I change the Manufacturers dropdown list into a regular list box, which I can later style with css to make it a certain height and be scrollable?

    I know the file to edit is admin/includes/modules/product/collect_info.php, and around line 577, the code that draws the dropdown is:

    PHP Code:
    <td class="main"><?php echo zen_draw_separator('pixel_trans.gif''24''15') . '&nbsp;' zen_draw_pull_down_menu('manufacturers_id'$manufacturers_array$pInfo->manufacturers_id); ?></td>
    ...........and I know the "zen_draw_pull_down_menu" is what needs changed..........................but to what?

    Any help appreciated.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  2. #2
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: Change dropdown list to scrollable box

    Hmmm............this one must be a little harder than I though??
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Change dropdown list to scrollable box

    And if you add the size?
    Code:
                <td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . '&nbsp;' . zen_draw_pull_down_menu('manufacturers_id', $manufacturers_array, $pInfo->manufacturers_id, "size = 5"); ?></td>
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: Change dropdown list to scrollable box

    Linda,

    Once again, you nailed it. Thanks so much. That really WAS that simple, wasn't it? Now, I fell a little stupid............nahh.....ignorant.

    Thanks again, Linda.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Change dropdown list to scrollable box

    Don't feel bad ... I had to peek for that one too ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Re: how to change dropdown box color on product?
    By uri1223 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 Aug 2011, 12:48 AM
  2. Change cart input box to dropdown box
    By ripplevan in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 28 Mar 2011, 02:40 PM
  3. dropdown list for subcategories in center box
    By JohnBoyCR in forum General Questions
    Replies: 2
    Last Post: 24 Aug 2010, 11:44 PM
  4. how to change quantity box to dropdown menu?
    By ginby in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 9 Jan 2010, 02:14 AM
  5. How to change manufacture to dropdown list ?
    By blade97 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 11 Jun 2007, 07:03 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