Forums / Developer / edit and view attribute gui

edit and view attribute gui

Author Message

Mazen Alsibai

Tuesday 18 October 2005 12:05:09 am

Hi:
when i try to edit an attribute of an object using edit_attribute_gui i noticed that the appearance of the result is not good as i want it,so i replace it using the following :
i put the code the might be produced if i use attribute_edit_gui and replace the number by the coorect clause that refer to it
as an example:
if i have a class which has one attribute called name,when i edit any object of that class i use
<input type="hidden" value="{$content_attributes[0].id}" name="ContentObjectAttribute_id[]">
<input class="box" size="70" name="ContentObjectAttribute_ezstring_data_text_{$content_attributes[0].id}">
so that i can control the appearance of it
is this a good way?and is there another way to do that?
thanks