How to display Summary text in the Listings Module

From JReviews Documentation
Jump to: navigation, search

To display the Summary text in Listings module, you only need to enable it in the Module Parameters:

ModuleSummaryText.png


If you are using older version of JReviews where the Show Summary parameter doesn't exist, you will need to modify the theme file:

  • \com_jreviews\jreviews\views\themes\default\modules\listings.thtml


Paste this line where you want the Summary text to be displayed:

<?php echo $Text->truncate($listing['Listing']['summary'], 50);?>

50 is the number of characters that will be displayed, you can increase/decrease the value if you want.