Your question has been submitted and is awaiting moderation.
Thank you for reporting this content, moderators have been notified of your submission.
Since DNN has "embedded" the input file widget,(version 7.0) it appears that :
1) it cannot be localized because the "Choose File" label is altered with the use of JQuey, direSince DNN has "embedded" the input file widget,(version 7.0) it appears that :
1) it cannot be localized because the "Choose File" label is altered with the use of JQuey, directly in the code.
2) It's quite impossible to use the widget in our own modules because the CSS alters directly input:file and it is very difficult to organize the page layout (without having the input file at the left of the module"
I personnaly had to modify the core dnn js scripts (I'm french !).
Is there a better way ?
I do think it's never a good idea to modify the CSS of a basic widget as it's very difficult to override (we need to override all the properties that have been set). It should have been a better idea to add a dnnFileInput CSSClass, and add the class every time the input file widget is used throughout DNN !ctly in the code.
2) It's quite impossible to use the widget in our own modules because the CSS alters directly input:file and it is very difficult to organize the page layout (without having the input file at the left of the module"
I personnaly had to modify the core dnn js scripts (I'm french !).
Is there a better way ?
I do think it's never a good idea to modify the CSS of a basic widget as it's very difficult to override (we need to override all the properties that have been set). It should have been a better idea to add a dnnFileInput CSSClass, and add the class every time the input file widget is used throughout DNN !