Closed (fixed)
Project:
Node Hierarchy
Version:
6.x-2.1
Component:
Admin User Interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Jun 2011 at 22:47 UTC
Updated:
14 Jan 2012 at 03:50 UTC
How do I get to have the node hierarchy fieldset expanded by default on the node form? I have this code but doesn´t seem to do anything:
$form['nodehierarchy']['#collapsed'] = FALSE;
I am able to expand fieldsets like menu settings by something very similar:
$form['menu']['#collapsed'] = FALSE;
What am I doing wrong?
Comments
Comment #1
atxajon commentedIt turns out that I needed to increase my custom module´s weight in order to affect node hierarchy menu; I ended up using the Util module for this.
Comment #2
jbylsma commentedResolved.