Post by Franz-Peter » Wed Aug 26, 2009 4:23 pm

bug.png

bug.png (7.25 KiB) Viewed 2493 times

There is a bug in the manufacturer box. The size of the dropdown menu depends on the length of the manufacturer name. If there are long manufacturer names the dropdown menu gets the length of the longest manufacturer name. And that destroys the layout.

New member

Posts

Joined
Tue Aug 25, 2009 4:30 pm

Post by bthirsk » Wed Aug 26, 2009 9:32 pm

In catalog\view\theme\default\template\module\manufacturer.tpl

Change

Code: Select all

    <select onchange="location=this.value">
to

Code: Select all

    <select size="20" onchange="location=this.value">
with the size value being whatever you want to display.

Active Member

Posts

Joined
Wed Sep 03, 2008 11:33 am
Location - Canada

Post by Franz-Peter » Wed Aug 26, 2009 10:45 pm

Thank You for trying to help. But sorry, that does not solve the problem. It just changes the length of the dropdown (it shows with the change for example only 20 manufacturers). The problem is not the length of the dropdown downward if I select it, the problem is the standard width (if nothing is selected). The dropdown menu does not fit anymore in the manufacturer box, if there are long manufacturer names. The dropdown field is not independent from the manufacturer entries. If you have long manufacturer names, even the standard entry, where you just read: please select gets an enormous width. The dropdown field should not get its width by the widest manufacturer name, it should fit into the box.

New member

Posts

Joined
Tue Aug 25, 2009 4:30 pm

User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by bthirsk » Thu Aug 27, 2009 10:12 pm

Sorry, I wasn't paying attention.
Yes, setting width kind of works, but not with IE.
It clips the options.

I kind of have a javascript fix that works with both IE and everone else's browsers.
I just have to solve the select box clipping.
The options display correctly.

Will post when done.

Active Member

Posts

Joined
Wed Sep 03, 2008 11:33 am
Location - Canada
Who is online

Users browsing this forum: No registered users and 17 guests