This patch integrates Simple Access with CCK's drag-&-drop interface by implementing the hook_content_extra_fields() function (so users can change where the Simple Access field appears in CCK).

I wasn't sure about the weight value, whether it's needed or not, or whether I also needed to use the content_extra_field_weight() function...
Seems to work fine as is however.

CommentFileSizeAuthor
#4 simple_access-cck-integration.patch585 bytesAnonymous (not verified)
#1 simple_access_extra_fields_2.patch960 bytesAnonymous (not verified)
simple_access_extra_field.patch644 bytesAnonymous (not verified)

Comments

Anonymous’s picture

StatusFileSize
new960 bytes

Actually, try this one instead, I think I've done it right...

gordon’s picture

Status: Needs review » Fixed

Thanks, I have committed this to dev.

Anonymous’s picture

The 6.x-2.x-dev download (http://drupal.org/node/306323) is still showing "Last updated: July 17, 2009 - 22:33"...

Anonymous’s picture

Version: 6.x-2.0-rc4 » 6.x-2.x-dev
Status: Fixed » Needs review
StatusFileSize
new585 bytes

Turns out I was wrong (#550940: How to integrate other modules with CCK's drag-&-drop interface). The attached patch is what's actually needed.
You will probably have to revert the changes from the last patch before committing this one (patch created against 6.x-2.x-dev, 2009-Jul-17)
Sorry :)