Extending the description field

geijutsuka - September 29, 2009 - 22:48
Project:FileField
Version:6.x-3.x-dev
Component:User interface
Category:support request
Priority:normal
Assigned:geijutsuka
Status:closed
Description

I have a simple question which hopefully has a simple solution:

Is there any way to allow more characters in the optional "description" field in the ImageField module? Most of the images on the site on which I am working are scientific and require quite robust explanations; most of the time they are a few sentences in length. Thank you for any help in advance.

#1

quicksketch - October 20, 2009 - 18:16

You can set two variables to change the type and length of the description field.

In settings.php, add the following lines at the bottom:

<?php
$conf
['filefield_description_type'] = 'textarea';
$conf['filefield_description_length'] = NULL
?>

You could also use variable_set() to accomplish the same thing.

See #407410: Option to have longer description, which added this functionality.

#2

quicksketch - October 20, 2009 - 18:17
Category:feature request» support request
Status:active» fixed

Marking fixed since this was open for so long. It will close automatically in 2 weeks.

#3

geijutsuka - October 20, 2009 - 20:49

Thank you!

#4

System Message - November 3, 2009 - 20:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.