Don't replace spaces with underscores on upload

4 posts by 2 authors in: Forums > CMS Builder
Last Post: October 5, 2008   (RSS)

By dwellingproductions - October 2, 2008

Hello! I was wondering if there was any way to keep spaces in a file name when uploading instead of having them converted to underscores. This is because an audio player we are using automatically generates it's file list and display information based on the name of the audio file. So, it ends up looking very distracting to see all the underscores when the song title is scrolling by or when displayed in the song list. I understand why it is better to have that feature. However, it would be great if it was an option that could be turned off on a page by page basis. Maybe you already can and I missed it.

Any help is appreciated. Thanks!

Jeremy
---------------------------

Dwelling Productions

www.dwellingproductions.com

Re: [dwelling] Don't replace spaces with underscores on upload

By Dave - October 2, 2008

Hi Jeremy,

There's no easy way to do that, no. Does your audio player allow you to specify any other fields besides just a filename? If so you could display the caption instead?
Dave Edis - Senior Developer
interactivetools.com

Re: [dwelling] Don't replace spaces with underscores on upload

By dwellingproductions - October 5, 2008

Hi. Just wanted to report back that I got this working by tweaking the script of the audio player itself. It now replaces every instance of an underscore with a space.

So, we're all better now! :-) Thanks!
---------------------------

Dwelling Productions

www.dwellingproductions.com