[support] Image module and node body field

Pierre Rineau pierre.rineau at makina-corpus.com
Tue Aug 26 14:30:19 UTC 2008


Hi,

I'm trying to disable 'body' field for Image nodes, but this happens:

 o I try to disable it throught content type edition, it alway come back
   after I saved it;
 o Then, I modified directly into database (table node_type) the content
   type 'image', disabling it's body field, but when I edit the node, the
   field stays here;
 o So, I looked at the module's code, I saw that its hook_node_info() does
   not provide any information about the 'body' field, so if I configure
   it to not come back, it should not be here !
 o I also looked at _node_types_build()method, but can't see why it fails,
   and why my 'image' node type (that I get back with node_get_types())
   has its 'has_body' attribute to TRUE, it should not be with the database
   configured !

Any ideas here ? May a module could override the node form don't you think ?

Please, help :)



More information about the support mailing list