Closed (fixed)
Project:
Notifications
Version:
6.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2009 at 17:51 UTC
Updated:
11 Nov 2012 at 12:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedUpdated patch with proper function name ('notifications_content_content_extra_fields' instead of 'notifications_content_extra_fields') and added/removed extra spaces.
Comment #2
Anonymous (not verified) commentedOops, stuffed that one up... Here's a better one.
Comment #3
jose reyero commentedHow does this work with the permission and with other modules adding fields here like notifications_team?
Comment #4
Anonymous (not verified) commentedThis simply allows you to change where the Notifications field appears in relation to other CCK fields on node-edit forms (basically gives you a GUI to set the weight).
AFAIK it doesn't, and shouldn't, affect permissions. If a user has permission to see and use Notifications, they'll see the field with or without this patch. As for other modules, if they provide a CCK field/fieldgroup, they'd also have to implement this hook (unless their field was a sub-field of this one...)
Comment #5
iancawthorne commentedJust what I was looking for and seems to work fine. I'm also using notifications_team module and there appear to be no conflicts.
Would like to see this commited.
Comment #6
mrtoner commentedPatch works as advertised. Let me suggest these changes (no time to roll my own patch):
- Label should be "Notifications settings" -- it's more generic, not needing to be changed for additional settings in the future, and is in keeping with other items in the list
- Description should be "Content Notifications module form." -- it identifies the module that provides the form, just as the other items do
- The check for Notifications module is unnecessary, since the dependency on Notifications will prevent Notifications Content from being enabled without Notifications.
Comment #7
mrtoner commentedSorry, I'm not the best one to say this is RTBC.
Comment #8
Anonymous (not verified) commentedThanks for that, here's an updated patch.
Comment #9
ahjota commentedPatch in #8 works on a test site running Drupal 6.16 and a production site running Drupal 6.15 (both sites run Notifications 6.x-2.1 ... do I need to change the Version?)
Comment #10
mrtoner commentedNope, the request should go against dev. If Jose likes it, he'll commit it to the next version.
Comment #11
miro_dietikerHas been fixed in 6.x-4.x already a long time ago.