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.

Not Displaying next page of Sermons List

  • Tony
  • Tony's Avatar Topic Author
  • New Member
  • New Member
More
04 Apr 2011 14:17 #438 by Tony
I have a problem with the listing.
I have set the listing to limit to 10 so it sort by date for me, however, after doing that when I click on 2,3 or any other page, it still display page 1 listing.

However in archive listing 2010 it shows page 2.

If I take off the listing limit, it will display page 2, 3 etc..
However taking off the listing limit wont list the sermons by date by default.

Site: www.agamchurch.com

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

More
04 Apr 2011 14:41 - 04 Apr 2011 14:42 #439 by Thomas Hunziker
Looks like a bug to me.
The limit parameter should force a fixed amount of sermons and a fixed sorting order to the view, the pagination should be disabled then.

If you only want to have the default sorting order by date, you could edit the file /components/com_sermonspeaker/models/sermons.php

Around line #118 it should say something like
Code:
$orderCol = JRequest::getCmd('filter_order', 'ordering'); $this->setState('list.ordering', $orderCol); $listOrder = JRequest::getCmd('filter_order_Dir', 'ASC'); $this->setState('list.direction', $listOrder);

change this to
Code:
$orderCol = JRequest::getCmd('filter_order', 'sermon_date'); $this->setState('list.ordering', $orderCol); $listOrder = JRequest::getCmd('filter_order_Dir', 'DESC'); $this->setState('list.direction', $listOrder);
and it should work.

The next release of SermonSpeaker will have an option to let you select the default ordering. For now it's ordered by the "ordering" ascending.
Last edit: 04 Apr 2011 14:42 by .
The following user(s) said Thank You: Tony

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

Time to create page: 0.134 seconds
Powered by Kunena Forum