Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm going to attach a patch to upgrade the messaging_sms for D7
Comment | File | Size | Author |
---|---|---|---|
#3 | messaging_sms.tar_.gz | 2.61 KB | oturpin |
#1 | messaging-sms-upgrade-1450758-1.patch | 3.25 KB | NROTC_Webmaster |
Comments
Comment #1
NROTC_Webmaster CreditAttribution: NROTC_Webmaster commentedPatch attached.
Comment #2
POVYLAZZZ CreditAttribution: POVYLAZZZ commentedI need this functionality and I don't feel like reverting to 6.x so I took a look a patch. Here are my findings:
I think that that the line in the patch :
Should be
And then
Messaging_SMS_Method
extendingMessaging_Send_Method
should be coded.Also this module should probably have Phone module dependency and after it is been enabled a phone field should automatically be added to the user profile form.
Since I need this functionality I am ready to spend some time trying to bring it to 7.x jet I need some help with drawing up
Messaging_SMS_Method
. How should it look like? Where should I start?One more question is the SMS functionality on the TODO list for 7.x? If so how far down it is positioned?
Comment #3
oturpin CreditAttribution: oturpin commentedHi All,
I spent some time adapting simple mail method to SMS messaging.
The only constraint I have for the time being is to have a "mobile" field on the user account entity.
I tried to use SMS_validation submodule but without success... maybe once.
The code is provided in the attached file (messaging_sms.tar_.gz) which has to be copied to messaging module directory.
It works... I am using it to send SMS via the simple gateway to a REST server gateway.
Thx for feedback