Tuesday 20 April 2004 12:40:48 am
You can of course have two combo boxes, but you only need to store the second one. You can use the first one only to choose the right content for the second one (with javascript). I suggest you use alternative attribute views, for instance:
(in register.tpl) {attribute_edit_gui view="myspecialjavascript" attribute=$myattributelist.myattribute}
Now, create your special attribute in mydesign/content/datatype/edit/myspecialjavascript/ezselection.tpl (if your attribute is an ezselection, of course.) This way you don't have to have the same template for all attributes of the same type.
|