跟进至Adding attributes to customer entity注册表格上的自定义下拉菜单属性
我的目标是使新的属性出现在注册表单上。我添加了$oAttribute->setData('used_in_forms', array('customer_account_create', 'adminhtml_customer'));
呼叫,应该添加新的字段。点是直接添加新字段而不修改register.phtml模板。我还需要挂钩到注册保存方法来处理选择自定义答案的能力,例如“其他”
在此先感谢
有什么问题吗? – OSdave 2011-05-17 15:18:11
问题是新的属性没有出现在注册表单上,它在后端 – Zifius 2011-05-17 15:24:55