Closed (fixed)
Project:
FileField
Version:
6.x-3.2
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Nov 2009 at 00:02 UTC
Updated:
12 Nov 2009 at 02:01 UTC
I want to change the word 'Upload' to 'Attach' on the input form button, but only for one content type usage. I can't use the string overrides module since that would change it everywhere.
I know my cck field name is 'field_member_audio_file' and I found this note http://drupal.org/node/420570 that tells how to do this for the output theming, but I'm not sure what function to override to make such a change to the input form. Or what to change in that function. Any help would be appreciated.
Thanks, Nancy
Comments
Comment #1
quicksketchI don't think you can rename the button at all, since FileField actually depends on the exact (translated) phrase "Upload" to differentiate from the "Delete" button. If you did rename the button manually (which is possible) you'd have the problem that it would not actually upload any more, since FileField would not be able to tell what to do with a different word.
Comment #2
nrackleff commentedThanks for the info. I'll mark this closed.