Wednesday 10 January 2007 8:22:12 am
Hi all, In a class, i've several attributes and in a form, i just want to allow update for 1 field (I don't want the others attributes appears in this form). With an override of content/edit_attribute.tpl i look for the id of the attribute i want to update. Only this attribute appears and i can update it. When i validate the form, one of the other attributes of the class cause an error during the validation : "unknown error" is refered. In the class, all attributes have no restriction, no limitation. $validation.attributes contains data of the attribute which cause problem (id, name of the field, error). Where $validation.attributes used in content/edit_attribute.tpl, is updated during validation ?. Is there à way to update partially one or several attributes of a class without difficulties with the others attributes ? (ezpublish 3.6.10, php 4.3.) help will be appreciated ! Patrice.
|