Just to make Private fields act as fields ;)

CommentFileSizeAuthor
#4 content_extra_fields-967762-4.patch1.12 KBdboulet
#1 private.module.act_as_field.patch751 bytesAnonymous (not verified)
private.module.act_as_field.patch750 bytesAnonymous (not verified)

Comments

Anonymous’s picture

StatusFileSize
new751 bytes

I forgot one thing: when the module is installed, existing content types would not have the "private_" in variable table. Then the field does not appear to be reordered in admin/content/node-type/<node-type>/fields until the node type was edited. The "-1" solves this.

thesaint_02’s picture

I patched after installing the module. I can move the field, but it's always stuck to the top of the page none the less. I've tried editing the node type, changing privacy setting and disabling and re-enabling the module - all without result. Are there any DB entries I have to manipulate?

Anonymous’s picture

Did you tried it with the 6.x-1.1 version? We have been using this patch for months with success.

dboulet’s picture

Version: 6.x-1.1 » 6.x-1.x-dev
StatusFileSize
new1.12 KB

Thanks for the patch eriksen.costa. You forgot to actually make use of the weight in the node form.

Amusing fact: the maintainer of this very module wrote a comprehensive blog post on implementing this feature: http://www.lullabot.com/articles/great-pretender-making-your-data-act-field.

adamps’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

Closing ancient D6 issue that doesn't seem to apply any more. The patch uses a hook that I think no longer exists.