10375 Posts in 2190 Topics by 1707 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 979 Views |
-
swfupload module - include file size info on popup

20 August 2010 at 10:15pm
I'm sure this is really simple but I can't find a solution. How can i include some additional text on the file upload popup window that appears when swfupload module is installed? I just want it to say something like "max filesize is 500KB", and I don't mind hardcoding this rather than getting the actual max filesize from config.
Cheers.
-
Re: swfupload module - include file size info on popup

21 August 2010 at 1:56am
The super quick way to do it is in your getCMSFields() function:
$size = SWFUploadConfig::get_var('file_size_limit');
SWFUploadConfig::set_var('browse_button_text',"Browse (Max: $size)");
| 979 Views | ||
|
Page:
1
|
Go to Top |

