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?