Closed (fixed)
Project:
FileField
Version:
6.x-3.2
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Apr 2010 at 06:01 UTC
Updated:
8 May 2010 at 00:20 UTC
Hi,
Is it possible to do hook_form_alter to change the "Upload" label to something else? I have done 10000 searches on Google but failed. When var_dump the $form, i cannot see the field element to make change.
Many thanks,
Comments
Comment #1
quicksketchYou can do this but it's a bit tricky. I'd suggest looking at FileField Sources or ImageField Extended, both of which significantly modify the normal FileField upload form. You'll be able to use the same approach to change the Upload label.
Another option is simply using String Overrides, but that will change the word "Upload" anywhere where it is a stand-along word in the entire Drupal site (though maybe that's what you want).
Comment #2
tm01xx commentedThanks for your help. i will give them a try soon.
Comment #3
quicksketch