Welcome Guest, Not a member yet? Register   Sign In
File Upload Library and special characters

OK I see what you mean. I have a function to filter special characters for the nice URLs in the setup that I could use.

Let me see if I get this right:

I need to change the name here:

slugCallback: function(filename) {
return filename.replace('(', '_').replace(']', '_').toLowerCase();

by running my function over the filename - correct?

My function looks like this though: strtolower(filter_special_chars($variable, TRUE, '-')) - I am pretty new to all of this so how do I port this in the slugCallback?

Messages In This Thread
RE: File Upload Library and special characters - by marwin - 11-23-2018, 07:54 PM

Theme © iAndrew 2016 - Forum software by © MyBB