Checking hide on the body field has no effect, and the field is still displayed

Comments

yugongtian’s picture

+1

RealBirkoff’s picture

StatusFileSize
new633 bytes

The hide option didn't work on any field at all here, the module expects $form['#id']=='node-form' while it's more like $form['#id']=='[nodetype]-node-form'.

this simple patch seems to fix it..

itai_biren’s picture

it seems not to help me.. still can't hide fields..
can you eplain or give me another patch?

rwt’s picture

Same for me. Hide fields does not work at all

barraponto’s picture

Priority: Normal » Major
Status: Active » Needs review
StatusFileSize
new1004 bytes

Just had to check the $form['node_form_edit'] boolean :)

renat’s picture

Status: Needs review » Reviewed & tested by the community

Patch from #5 solved mentioned problem for me, it's code looks reasonable, so mark it as RTBC.

open social’s picture

I confirm the patch from #5 works, can this go upstream?

barraponto’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.