Needs review
Project:
Notifications
Version:
6.x-2.2
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Apr 2008 at 11:31 UTC
Updated:
21 Mar 2011 at 09:42 UTC
Jump to comment: Most recent file
Comments
Comment #1
jaydub commentedYes I do think that there's room for improvement here.
I've attached patches for messaging and notifications
to address this in the module settings pages and in
the user edit pages.
I know Jose is porting to Drupal 6 at this time so I'll
post the patches here to be assessed rather than
just commit.
Comment #2
jose reyero commentedThe patches look good. However I think it was asking for a bigger remake so that's what I did.
Merged messaging and notifications 'default_send_method' setting, it should show up disabled when there's only one. Also fixed some related issues, strenghtened permissions (aditional checking in case perms have changed), etc...
This is to be ported to D6. There may be room for more improvements though (Like actually removing the send method down for subscription forms)
Comment #3
jose reyero commentedDone for D6
Comment #4
plan9 commented@Jose, do you have this patch for D5?
Comment #5
amogiz commentedHi. I am a user of this great D6 module but still have the send box method down for subscription forms.
How could i hide it ?
Thanx
Comment #6
amogiz commentedExcuse me i did not fill correctly the form and did not re-open the Post so i do it again.
Hi. I am a user of this great D6 module but still have the send box method down for subscription forms.
How could i hide it ?
Thanx
Comment #7
jdln commentedSubscribing.
Comment #8
Soldierka commentedI can't find this option neither.... Any help please?
Comment #9
jdln commentedIf there was a div with a unique name around these options so I could hide it with CSS, that would be fine for me. Is there a simple patch / theming method to achieve this?
Thanks
Comment #10
juc1 commentedsame problem here
Comment #11
landry commentedI think what people want is no form at all if there is only one method available. Atm, the form is here, but with a disabled select box.
A 'better' fix would be removing '#disabled' in messaging.module:messaging_user() line 138, and instead amend the if to be :
if ($category == 'account' && ($list = messaging_method_list($user)) && count($list) > 1)
Attached patch works for me.