Support for SermonSpeaker 5.x is in bugfix mode only, the same as it is for Joomla 3.10.
I will not add any new features to this releases.
Please upgrade to SermonSpeaker 6.x and Joomla 4.x, which is better anyway.

Filter

More
10 Sep 2026 20:06 #8558 by Thomas Hunziker
Replied by Thomas Hunziker on topic Filter
It should. I don't think I removed the code.

Please Log in or Create an account to join the conversation.

More
30 Sep 2026 12:45 #8562 by pola
I tried the code snippet, but I got errors like the following
JFactory & JText classes are not found

Please Log in or Create an account to join the conversation.

More
30 Sep 2026 14:21 #8563 by Thomas Hunziker
Ah, that is Joomla which namespaced the classes. You can try with just removing the J from the class names, but most likely they need to be imported first.
I'll see if I can give an updated code snippet later today.

Please Log in or Create an account to join the conversation.

More
01 Oct 2026 11:49 #8564 by Thomas Hunziker
Replied by Thomas Hunziker on topic Filter
That should work with Joomla 6
Code:
<select name="speaker" id="filter_speakers" class="input-medium" onchange="this.form.submit()"> <option value="0"><?php echo Text::_('COM_SERMONSPEAKER_SELECT_SPEAKER'); ?></option> <?php $db = Factory::getDbo(); $query = $db->getQuery(true) ->select('`id`, `title`') ->from('`#__sermon_speakers`') ->where('`state` = 1'); $db->setQuery($query); $speakers = $db->loadAssocList(); echo HTMLHelper::_('select.options', $speakers, 'id', 'title', $this->state->get('speaker.id'), true); ?> </select> <select name="serie" id="filter_series" class="input-medium" onchange="this.form.submit()"> <option value="0"><?php echo Text::_('COM_SERMONSPEAKER_SELECT_SERIES'); ?></option> <?php $query = $db->getQuery(true) ->select('`id`, `title`') ->from('`#__sermon_series`') ->where('`state` = 1'); $db->setQuery($query); $series = $db->loadAssocList(); echo HTMLHelper::_('select.options', $series, 'id', 'title', $this->state->get('serie.id'), true); ?> </select>
The following user(s) said Thank You: pola

Please Log in or Create an account to join the conversation.

More
01 Oct 2026 11:50 #8565 by Thomas Hunziker
Replied by Thomas Hunziker on topic Filter
Basically: Replace JText with Text, JFactory with Factory and JHtml with HtmlHelper

Please Log in or Create an account to join the conversation.

Time to create page: 0.238 seconds
Powered by Kunena Forum