Комментировать
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.
