Project:SMS Framework
Version:6.x-2.x-dev
Component:Send to Phone
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I have been playing around with this module and have got it to send sms messages, but when it send it it send it as a link. users would have to log in to see the message. I just want to sent the title and the body in the message

Comments

#1

Version:5.x-1.0-beta1» 6.x-1.x-dev
Component:sms_sendtophone.module» Send to Phone
Category:support request» feature request

Moving to Drupal 6 development branch.

#2

Sorry, what about this functionality? Has it been developed yet?
Isn't it enough to change the '#default_value' from link to check_plain($node->body)?
TIA this module is great!!

#3

I find this strange, installed the module and enabled Send to phone for content type. Link appears in block but message is link to node. What use is a link if the phone cannot view web pages? AFAIK most mobile phones cannot view web pages and regardless, most sites aren't mobile phone friendly. I would like to customize the default message using tokens. Also I think the URL ought to adopt URL alias i.e. sms/sendtophone/url-alias.

#4

I'm trying to create module, have made it load body ..

<?php
function custom_sms_form_sms_sendtophone_form_alter(&$form, $form_state) {
module_load_include('module', 'sms_sendtophone');
module_load_include('inc', 'date_token');
      if (
is_numeric(arg(3))) {
       
$node = node_load(arg(3));
       
$form['message'] = array(
         
'#type' => 'textarea',
         
'#title' => t('Message preview'),
         
'#description' => t('This message will be sent to the phone.'),
         
'#cols' => 35,
         
'#rows' => 2,
         
'#attributes' => array('disabled' => true),
         
'#default_value' => $node->body,
        );
      }
}
?>

I want it to include date fields too and all repeat dates too. I tried $node->field_myfieldname['value'], does nothing.

#5

Version:6.x-1.x-dev» 6.x-2.x-dev
Status:active» fixed

You can edit the message when sending, so I think the problem here is resolved. Attempting to put the entire node body into a 140 character the sms message doesn't sound like it will work well to me?

#6

Status:fixed» closed (fixed)

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

nobody click here