On D6.6 it works great, the problem is with Message textarea its toooo long - 45 rows. I see in the code is:
'#rows' => 10,
but I it's not working.
I have message already written and its editable.
Any ideas how to change the rows amount ?
Cheers for nice module.
B.

Comments

ggaetz’s picture

Assigned: Unassigned » ggaetz
Status: Active » Fixed
  if ($node->tellafriend_node_message_is_editable == TRUE) {
    $form['message']['message_content'] = array(
      '#type' => 'textarea',
      '#title' => t('Message Content'),
      '#rows' => 10,
      '#default_value' => $node->tellafriend_node_message,
    );
  } 

This is around line 586 of the module. You can adjust the # of rows here.

You can use css to modify the size of most any form item rather than messing with the module code.

Would it be desirable to be able to set the # of rows when defining the node?

benone’s picture

hmmm , last version of module has 524 lines..
Anyway I used CSS already, and is OK.
It might be desirable, but you can use CSS so, its not really needed.
Thanks for your support.
B

ggaetz’s picture

Status: Fixed » Closed (fixed)