User: javanaut Branch: HEAD Date: Fri, 4 Feb 2005 22:45:02 +0000 Modified files: /sandbox/javanaut/nodeattachment nodeattachment.module Log message: Various updates: 1. Changed parent ordinality from "requires parent" boolean to a multi-selection box including: none, one, one or more, any 2. Changed "attach new node", "attach existing node" links so that they only appear if user permissions and parental ordinality accommodate the actions. 3. Hopefully resolved the node_access('create'..) problems I was having by addressing an issue with the user_access(..) function (see http://drupal.org/node/16705). 4. Reworked a bunch of URL juggling so that it's a bit cleaner. Where possible, I've replaced query string arguments with url arguments. This includes menu paths under node/add that I've taken over to some degree. Still haven't figured out how to limit the user/add node list such that when users create nodes there, they only see the types that don't require parents (while still allowing them to be created using the parented approach). 5. Fixed bug in nodeapi delete section where not all relationships were cleaned up when a node was removed. Links: http://cvs.drupal.org/diff.php?path=contributions/sandbox/javanaut/nodeattac...