Welcome, Guest
Username Password: Remember me

Spaces in filenames
(1 viewing) (1) Guest
When posting bug reports, please include as much detail as possible, including:
- your version of JBS,
- what view you were on,
- what task you were trying to perform,
- any error messages you encountered,
- step by step instructions to reproduce if possible.
If you have worked out a fix, upload the relevant file (renamed to .txt) and we'll update quickly!
  • Page:
  • 1

TOPIC: Spaces in filenames

Spaces in filenames 14 Sep 2011 22:56 #2794

Is there a fix to allow JBS to use spaces in filenames? Currently JBS converts the space to an underscore_.
I am using Joomla 1.5.22 and JBS 6.2.4

Re: Spaces in filenames 14 Sep 2011 23:14 #2795

  • Tom
  • OFFLINE
  • Moderator
  • Posts: 305
Hi Bill,

There is a fix if you want to edit a php file. This was done purposefully because spaces in file names breaks some browsers.

The code you want to look at is in administration/components/com_biblestudy/models/mediafilesedit.php

Around line 102 you will find an array of bad characters we filter out. Just remove the first item in that array - the blank space.

Alternatively - in the Administration screen (found by going to the JBS control panel) there is a setting that turns off the bad character filtering all together.

Tom

Re: Spaces in filenames 14 Sep 2011 23:31 #2796

Thank you Tom, I'll try that out.

Re: Spaces in filenames 14 Sep 2011 23:36 #2797

Do remember if you are hosting your file on a linux box this will cos preambles. It is hilye recommended to have no spaces in files.
Thanks,
Brent Cordis
Joomla Bible Study Team Member
  • Page:
  • 1
Moderators: Richard Hunt
Time to create page: 0.51 seconds