How do I hide Summary text on listing detail page

From JReviews Documentation
Jump to: navigation, search

Edit this theme file:

  • \com_jreviews\jreviews\views\themes\{theme_name}\listings\detail.thtml


and replace:

<?php echo $listing['Listing']['text'] !== strip_tags($listing['Listing']['text']) ? $listing['Listing']['text'] : nl2br($listing['Listing']['text']);?>


with:

<?php echo $listing['Listing']['description'] !== strip_tags($listing['Listing']['description']) ? $listing['Listing']['description'] : nl2br($listing['Listing']['description']);?>