VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Tom Goedhart on November 25, 2014, 00:42:24 AM

Title: Custom fields as radio buttons
Post by: Tom Goedhart on November 25, 2014, 00:42:24 AM
Hi all,

I'm upgrading my shop from 2.0 to 3.0. The new system is very nice! But there is one thing I can't get fixed. I'm starting to wonder if it is even possible with the new system. How can I change my custom fields from a dropdown list into a group of radio buttons? In my old template it displayed as radio buttons. Af migrating I can't get them as radiobuttons. Am I doing something wrong? Or am is it not possible anymore?

Thanks
Title: Re: Custom fields as radio buttons
Post by: balai on November 25, 2014, 13:03:05 PM
The default display is drop-down list now.
I am not sure if you can change that without hacking the core. Maybe someone else could give lights
Title: Re: Custom fields as radio buttons
Post by: Tom Goedhart on November 25, 2014, 17:04:53 PM
I was afraid so. It's no problem for me to hack the core. But I don't know how to change it. I tried to replace all the select.genericlist with select.radiolist. It did change the list to radio buttons, only the first entry still had a dropdownlist instead of a radiobox.

Anyone has any suggestions?