Hi all
I have a new image element type 'inline_image' and I want to add all the nice autopopulated fields Illustration and Photograph enjoy.
I tried copying the settings from the default Illustration element type (ID = 4) to a new entry in the field_type table associating my inline_image element_type__id. Sadly I got this error:
ERROR: duplicate key violates unique constraint "udx_field_type__key_name__et_id"
And yet the Photograph element_type also shares a 'width' key_name field element with Illustration.
I thought there was documentation on this but I can't find it.
any thoughts appreciated,
Dawn
I have a new image element type 'inline_image' and I want to add all the nice autopopulated fields Illustration and Photograph enjoy.
I tried copying the settings from the default Illustration element type (ID = 4) to a new entry in the field_type table associating my inline_image element_type__id. Sadly I got this error:
ERROR: duplicate key violates unique constraint "udx_field_type__key_name__et_id"
And yet the Photograph element_type also shares a 'width' key_name field element with Illustration.
I thought there was documentation on this but I can't find it.
any thoughts appreciated,
Dawn