[drupal-support] A how-to question on text areas.

Gordon Heydon gordon at heydon.com.au
Fri Aug 19 03:45:29 UTC 2005


Hi,

The actual function is form_textarea() which is in the includes
directory. but where the sizes are pasted is all over. just find the
form_textarea() and there are 2 parameters that specify the width and
depth.

check drupaldocs.org for more information.

Gordon.

On Thu, 2005-08-18 at 20:16 -0700, Skip Taylor wrote:
> Thanks Gordon, that worked fine.
> 
> For future reference where are the sizes actually set (without reading
> a LOT of code)?  I've found functions but nowhere that seems to call
> that function with actual numbers.
> 
> Perhaps it's all in a set of variables somewhere.  I'll keep looking
> just so I know!
> 
> Thanks again!
> Skip
> 
> On 8/18/05, Gordon Heydon <gordon at heydon.com.au> wrote:
>         Hi,
>         
>         The easiest method that have found to change this is to use
>         css.
>         
>         try something like
>         
>         #edit-body {
>           width: 100%;
>           height: 20em;
>         }
>         
>         this should allow you to change the textarea to what you
>         want. 
>         
>         Gordon.
>         
>         On Thu, 2005-08-18 at 15:53 -0700, Skip Taylor wrote:
>         > I've asked this on drupal.org with no answer and I've
>         searched the
>         > website with little result. I wish the search function on
>         Drupal were 
>         > more robust.  Perhaps in a future version.
>         >
>         > To my question.
>         >
>         > I'm using the bluemarine theme.  I have several users that
>         would like
>         > the body section of content to be taller and wider. I've
>         scanned the 
>         > theme docs and am now printing them to pour over later. I
>         also have
>         > the TinyMCE rich text editor installed if they wish to use
>         it.
>         >
>         > Does anyone know how one can change the number of columns
>         and rows in 
>         > the textareas?
>         >
>         > Any help appreciated!
>         > 
>         
>         --
>         [ Drupal support list | http://lists.drupal.org/ ]
> 
> !DSPAM:430552fe282083356511151!




More information about the drupal-support mailing list