- 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.
Not Displaying next page of Sermons List
- Tony
 - 
            
Topic Author
 - New Member
 - 
            
         
        Less
        More
        
            
    
        
            
        
                04 Apr 2011 14:17                #438
        by Tony
    
    
            
            
            
            
            
                                
    
                                                
    
        Not Displaying next page of Sermons List was created 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
    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.
- Thomas Hunziker
 - 
            
                                 - Offline
 - Administrator
 - 
            
         
            
        
                04 Apr 2011 14:41         -  04 Apr 2011 14:42        #439
        by Thomas Hunziker
    
    
    
            
            
            
            
                                
    
                                                
    
        Replied by Thomas Hunziker on topic Re: Not Displaying next page of Sermons List            
    
        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
change this to
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.
    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);
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.194 seconds