It would be nice if this module could be made arrangeable in the Manage Fields settings for user profiles. Right now it is not and thus can end up almost anywhere when you start moving the fields that are available.

It also prevents the possibility of for example putting it in a tab using the excellent Field Group module.

Comments

tsvenson’s picture

Unfortunately I'm no coder so I can't provide a patch. However, I believe this is quite easy to accomplish in Drupal 7 using the hook_field_extra_fields() function. At least that is what Dave Reid said in a similar issue I filed for the XML Sitemap module #1176526: Make XML Sitemap setting visible on Manage Fields/Display.

I fact, less than 3h after I filed the issue Dave had committed a fix, see comment #8 in the above issue.

Hopefully this info can help someone with better coding skills to be able to implement this.

greggles’s picture

Title:Make field available in Manage Fields» Make user profile setting available in Manage Fields
Status:Active» Needs review
StatusFileSize
new631 bytes

What the heck.

Thanks to tsvenson for the pointer to that issue and to Dave Reid in irc for guidance.

Dave Reid’s picture

Just be sure to match #weight from what you're currently using - look like in comment_notify_form_alter() #weight is 4, but here its defined as 5. As long as they're the same.

greggles’s picture

StatusFileSize
new631 bytes

Good point, thanks.

tsvenson’s picture

Status:Needs review» Reviewed & tested by the community

Thanks @greggles. Even though I am no coder (yet), I at least can try and save some time for those who are.

Tried and tested, works as it says on the tin.

greggles’s picture

Status:Reviewed & tested by the community» Fixed

Great, committed - http://drupalcode.org/project/comment_notify.git/commit/661f290

Thanks for the ideas and review tsvenson!

tsvenson’s picture

My pleasure. Will actually use your patch for this and see if I can't contribute some patches to other contribs, and Core, features that need this too. Seems simple enough for me to start with.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.