changing the default message

Upload core product.
Post Reply
mwhiting
Posts: 8
Joined: Wed May 25, 2011 3:14 am

changing the default message

Post by mwhiting »

Hi - is there a way to change the message that shows up "Select or drag and drop file to upload"?

Thanks.

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: changing the default message

Post by support »

Sure, use "resources" parameter and update this text in i18n.properties file. See the following tutorial to update any resource:
http://www.jfileupload.com/products/jfi ... ation.html

mwhiting
Posts: 8
Joined: Wed May 25, 2011 3:14 am

Re: changing the default message

Post by mwhiting »

Thanks - I have it working now, I can change the message.

I noticed on the info page you supplied under the 'look & feel' section, where they are demonstating changing to a native look & feel, that the pictures have a "Select file(s)" button next to the cancel button. How do I turn that button on? I tried uncommenting the following code:

Code: Select all

filechooser.dialog.open.button=Open
filechooser.dialog.open.button.tooltip=Open file or folder
lines in i18n.properties, but no effect.

Also, I am curious what these lines will do if uncommented (and perhaps enabled too):

Code: Select all

#filechooser.dialog.enterkey=disabled
#filechooser.dialog.lnk=disabled

mwhiting
Posts: 8
Joined: Wed May 25, 2011 3:14 am

Re: changing the default message

Post by mwhiting »

OK, I got the file chooser to work fine now. I uncommented the

Code: Select all

progress.button.select=Select file(s)
line in the porperties file.

I would still like to know what the other two lines do though.

Code: Select all

#filechooser.dialog.enterkey=disabled
#filechooser.dialog.lnk=disabled

mwhiting
Posts: 8
Joined: Wed May 25, 2011 3:14 am

Re: changing the default message

Post by mwhiting »

Thanks - I have now found and am using the properties file.

I would like to remove the initial message and separator bar text from the initial display, but still be able to use a separator bar later on between subsequent messages. I have deleted the content of the initial message and the dashes of the bar, but is there a way to have nothing display initially and still show a separator later?

Also, is there a way to have the progress bar (of the upload) only appear when the upload begins, and not be there all the time. My boss feels it suggests that the upload is already in progress, but is not progressing, when in fact it hasn't yet begun. (before files are selected)

Michael

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: changing the default message

Post by support »

You can modify the separator in i18n.properties too. Just replace it by a space
For initial message in progress bar, only JBatchUpload add-on allow it.

Post Reply