Page 1 of 1
Manufacturer Box
Posted: Wed Aug 26, 2009 4:23 pm
by Franz-Peter
bug.png (7.25 KiB) Viewed 2496 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.
Re: Manufacturer Box
Posted: Wed Aug 26, 2009 9:32 pm
by bthirsk
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.
Re: Manufacturer Box
Posted: Wed Aug 26, 2009 10:45 pm
by Franz-Peter
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.
Re: Manufacturer Box
Posted: Wed Aug 26, 2009 11:09 pm
by Qphoria
Re: Manufacturer Box
Posted: Thu Aug 27, 2009 10:12 pm
by bthirsk
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.