Closed (fixed)
Project:
Comment Notify
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2011 at 12:32 UTC
Updated:
2 Aug 2011 at 18:21 UTC
Jump to comment: Most recent file
Comments
Comment #1
tsvenson commentedUnfortunately 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.
Comment #2
gregglesWhat the heck.
Thanks to tsvenson for the pointer to that issue and to Dave Reid in irc for guidance.
Comment #3
dave reidJust 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.
Comment #4
gregglesGood point, thanks.
Comment #5
tsvenson commentedThanks @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.
Comment #6
gregglesGreat, committed - http://drupalcode.org/project/comment_notify.git/commit/661f290
Thanks for the ideas and review tsvenson!
Comment #7
tsvenson commentedMy 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.