Follow ReviewsForJoomla on Twitter
 
Navigation


How to change the number of results per page for the thumbview layout

From Documentation

Jump to: navigation, search

If you want to show 12 listings per page instead of the default 10 you need to change the page options in the dropdown lists in both admin and frontend.

For the configuration settings, List Page tab, edit

  • /components/com_jreviews/jreviews/views/admin/themes/default/configuration/index.thtml


<td width="250">Number of listings per page?</td>
<td>
   <?php
   echo $Form->selectNumbers('list_limit',4,48,4,$this->Config->list_limit,array('class'=>'inputbox','size'=>'1'));				
   ?>
</td>


For the frontend pagination list, edit

  • /components/com_jreviews/jreviews/views/themes/{theme_name}/listings/listings_thumbview.thtml


<?php echo $Paginator->display_items_per_page('page',array(4,8,12));?>


If your page is a menu link, make sure to adjust the number of items shown there which could be set to 10 by default.