
How to change Description textfield for filefield to textarea
Julia 15/01/2010
This is a little snippet for Drupal6 for changing a textfield to a textarea
in the Description field of the CCK file field (filefield module).
By default, you can enable Description field, but that will be a textfield input with 128 charecters length,
but already two customes have asked me to make this field longer, because this field is shown
under images in the lightbox box.
<?php
variable_set('filefield_description_length', 300);
variable_set('filefield_description_type', 'textarea');
?>Although the author of this module use variables,
he doesn't give the settings form for them.

You save me. Thanks!
Thanks but where does this snippet go??
You can write it anywhere - for example, in your module or theme,
actually you need it only once - to change the dafault settings.
Hi Julia, if possible please see my question here
http://drupal.org/node/1251268
thank you
What about creating a dropdown select?
Post new comment