I've been modifying the look and feel of Drupal's basic edit node page.
You wouldn't believe how hard it's been for me to even find out what template is used to render the basic edit node page. The devel module's themer-info thing doesn't seem to want to work on admin pages, and Drupal's website is useless.
Can you tell me what the name of this template is, and where or how (specifically) I might go about changing the size of the FCKEditor-enabled edit window?
Thanks for the pointer in the right direction. Since I'm working on a site that will be maintained by others, I didn't feel comfortable hacking the module, so I did a little more digging. As you mentioned, the height is set based on the number of rows. In my case, that was set to 5 but needed to be 20. Thanks to the forms API in drupal, this is changeable. All you have to do is create a dummy module (my_hacks, for example), and implement hook_form_alter as such:
function modulename_form_alter(&$form, $form_state, $form_id) {
//echo $form_id;
switch ($form_id) {
case 'taxonomy_form_term':
$form['identification']['description']['#rows'] = '20';
break;
}
}
This way, updates don't overwrite your changes and you can set the number of rows for any textarea. Uncomment the //echo $form_id; to see what the form id is for other forms that might need to be modified.
Re: Resizing default editor size with Drupal (solution)
You wouldn't believe how hard it's been for me to even find out what template is used to render the basic edit node page. The devel module's themer-info thing doesn't seem to want to work on admin pages, and Drupal's website is useless.
Can you tell me what the name of this template is, and where or how (specifically) I might go about changing the size of the FCKEditor-enabled edit window?
cheers in advance.
Re: Resizing default editor size with Drupal (solution)
function modulename_form_alter(&$form, $form_state, $form_id) { //echo $form_id; switch ($form_id) { case 'taxonomy_form_term': $form['identification']['description']['#rows'] = '20'; break; } }This way, updates don't overwrite your changes and you can set the number of rows for any textarea. Uncomment the //echo $form_id; to see what the form id is for other forms that might need to be modified.