Closed (fixed)
Project:
Menuless Node Type
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Reporter:
Created:
12 Aug 2009 at 06:23 UTC
Updated:
25 Aug 2010 at 12:40 UTC
Might be less potentially problematic to use the #access setting of $form['menu'] ie ($form['menu']['#access'] = 0).
That way if there's realy is a menu it won't show the field, but the information will still be there for others to use (yeah, against the title, I just really hate the menu fieldset in the node).
I've tested it; doesn't even show for user 1 :).
I had a module figuring out the parent in a presave and this was causing duplicates to be made
cool module
Comments
Comment #1
henrrrik commentedSounds good. I've made the change on GitHub, will roll a new release here too.