- Posts: 7
- Thank you received: 0
Support for SermonSpeaker 4.x is canceled as it is for Joomla 2.5. I will gladly assist you with minor issues but I will not fix any bugs anymore in this releases.
The fix is to upgrade to SermonSpeaker 5.x and Joomla 3.x, which is better anyway.
The fix is to upgrade to SermonSpeaker 5.x and Joomla 3.x, which is better anyway.
Accepted File Types
- Derek Duncan
-
Topic Author
- Offline
- New Member
-
Less
More
09 Mar 2013 20:29 #3171
by Derek Duncan
Accepted File Types was created by Derek Duncan
Have have about 200 sermons that have *.MP3 extension. I need sermon speaker to show these files in the dropdown list when choosing your sermons from the frontenduploader. However, it seems it is only showing the lowercase .mp3 files. How do I change this?
Thanks.
Thanks.
Please Log in or Create an account to join the conversation.
- Thomas Hunziker
-
- Offline
- Administrator
-
09 Mar 2013 20:56 #3172
by Thomas Hunziker
Replied by Thomas Hunziker on topic Accepted File Types
Hi Derek
The filter for the dropdown lists are specified in the form definition file. This is an XML File found in
Search for the field with the name "audiofile" and change the filter parameter there. It looks like this:
The filter part is actually a REGEX pattern which is case-sensitive. Change the filter to:
Keep in mind that URLs are also case-sensitive. So your files need to be referenced with the uppercase extension as well. For this reason it's recommended to have all filenames lowercase when used in URLs.
The filter for the dropdown lists are specified in the form definition file. This is an XML File found in
/administrator/components/com_sermonspeaker/models/forms/sermon.xml (Backend)
/components/com_sermonspeaker/models/forms/sermon.xml (Frontend)
Search for the field with the name "audiofile" and change the filter parameter there. It looks like this:
Code:
<field name="audiofile" type="customfilelist" class="inputbox"
path="path"
filter="\.aac$|\.m4a$|\.mp3$|\.wma$"
hide_default="true"
hide_none="true"
disabled="true"
onchange="toggleElement('audiofile', 1);"
label="COM_SERMONSPEAKER_FIELD_AUDIOFILE_LABEL"
description="COM_SERMONSPEAKER_FIELD_AUDIOFILE_DESC" />
Code:
filter="\.aac$|\.m4a$|\.mp3$|\.wma$|\.MP3$"
Keep in mind that URLs are also case-sensitive. So your files need to be referenced with the uppercase extension as well. For this reason it's recommended to have all filenames lowercase when used in URLs.
The following user(s) said Thank You: Derek Duncan
Please Log in or Create an account to join the conversation.
- Derek Duncan
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
09 Mar 2013 21:34 #3173
by Derek Duncan
Replied by Derek Duncan on topic Accepted File Types
Ok, I changed this, and I can confirm that it saved. However, it still only displays the lowercase extensions
Please Log in or Create an account to join the conversation.
- Thomas Hunziker
-
- Offline
- Administrator
-
09 Mar 2013 22:22 #3174
by Thomas Hunziker
Replied by Thomas Hunziker on topic Accepted File Types
I've tested it with the latest SermonSpeaker in both Joomla 3.0.3 and 2.5.9 and it worked fine.
What versions of Joomla and SermonSpeaker are you using?
What versions of Joomla and SermonSpeaker are you using?
Please Log in or Create an account to join the conversation.
- Derek Duncan
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
09 Mar 2013 22:45 #3175
by Derek Duncan
Replied by Derek Duncan on topic Accepted File Types
Joomla 2.5.8
SermonSpeaker 4.4.11
SermonSpeaker 4.4.11
Please Log in or Create an account to join the conversation.
- Thomas Hunziker
-
- Offline
- Administrator
-
09 Mar 2013 23:20 #3176
by Thomas Hunziker
Replied by Thomas Hunziker on topic Accepted File Types
Try to update your Joomla then. Just to be sure it's not an already fixed bug.
And double check your form definition.
And double check your form definition.
Please Log in or Create an account to join the conversation.
Time to create page: 0.154 seconds