Hi
This seems simple but I tried and not able to do it. I need to increase the text area rows (currently I guess it is 5) while adding a new video node so as to use the tinyMCE.
I tried to change the video module in form video as below
function video_form($node) {
=> TRUE);
---
---
$form['log']['message'] = array(
'#type' => 'textarea', '#default_value' => $node->log, '#rows' => 5,
to
'#type' => 'textarea', '#default_value' => $node->log, '#rows' => 20,

but no success,
can some one help,
thanks
rizz

Comments

fax8’s picture

Your approach is correct but you are changing log message,
not the body textarea.

You have to insert the desired value in this lines:

$form['body_filter']['body'] = array('#type' => 'textarea',
    '#title' => t('Body'), '#default_value' => $node->body,
    '#required' => FALSE, '#weight' => -15);
rizz’s picture

thanks
i was able to do the changes :-)
rizz

fax8’s picture

Status: Active » Fixed

very good.

Fabio

Anonymous’s picture

Status: Fixed » Closed (fixed)