Active
Project:
Node Hierarchy
Version:
7.x-2.x-dev
Component:
Node User Interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Apr 2013 at 19:11 UTC
Updated:
11 Apr 2013 at 15:51 UTC
Hello,
I would like to restrict users from changing parent when creating new child from link "Create new child ...". I want users to create parent of nodes which only they created.
Automatic parent is assigned but user can change that in form.
Meybe i could just hide field in hook_form_alter? Is it save?
Any ideas?
Thank you.
Comments
Comment #1
davvid commentedComment #2
davvid commentedComment #3
davvid commentedI used rules to get around this.
if conditions (php):
arent met, I use drupal_goto() to prevent node from being save.
But I would like to use proper, permanent solution.