1

I'd like to lowercase filename & extension on file upload with safecracker. Does someone know where to find the pre-uploading bit in the code?

I've played around with the core set_filename method, but that only seems to affect the temp_ filenames.

Thanks in advance!

1

I was using an add-on to do something similar. However it broke when I upgraded from 2.4.0 to 2.5.3. See thread: Safecracker File: Rename on Upload

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.