Reputation: 64874
I've noticed the images in the products content type in ubercart shop have 2 description fields: http://dl.dropbox.com/u/72686/doubleDescription.png
I was wondering if I can do this only with programming or there is some module to do it.
Also, it would be nice to have a text area instead of a single line text field for the description.
thanks
Upvotes: 0
Views: 227
Reputation: 594
If you look under http://yoursite.com/admin/content/node-type/product/fields/field_image_cache you can see that under Title Text Settings and Alt Text Settings they have those enabled. Just do the same on your content type with the Filefield -> Imagefield field type.
Upvotes: 1
Reputation: 29748
The functionality you describe is provided by ImageField, which is one of the modules recommended from Ubercart.
Upvotes: 0
Reputation: 8289
Those are not descriptions, those are image attributes that can be enabled during the content type definition.
I wouldn't recomment using long texts in ALT or TITLE, but if you really want to, you can change the field to a textarea implementing hook_form_alter()
on that form.
Upvotes: 2