Download & Extend

Body field still displays when Hide selected

Project:Node form columns
Version:7.x-1.x-dev
Component:User interface
Category:bug report
Priority:major
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

Comments

#1

+1

#2

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..

AttachmentSize
hidden.patch 633 bytes

#3

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

#4

Same for me. Hide fields does not work at all

#5

Priority:normal» major
Status:active» needs review

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

AttachmentSize
1024830-nodeformcols-hide-the-hidden-fields-5.patch 1004 bytes

#6

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.

#7

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

#8

Status:reviewed & tested by the community» fixed

commited to latest dev http://drupalcode.org/project/nodeformcols.git/commit/c1f24ca

#9

Status:fixed» closed (fixed)

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