How to display listing description on list pages

From JReviews Documentation
Jump to: navigation, search

List pages by default display only listing summary text (if enabled in configuration).

Edit the theme file of the list page, depending which layout you use:

  • /com_jreviews/jreviews/views/themes/{your_theme}/listings/listings_blogview.thtml
  • /com_jreviews/jreviews/views/themes/{your_theme}/listings/listings_blogview_magazine.thtml
  • /com_jreviews/jreviews/views/themes/{your_theme}/listings/listings_tableview.thtml

Replace this variable that outputs only summary:

$listing['Listing']['summary'];

with this variable that outputs only the description:

$listing['Listing']['description'];

or this variable that outputs both summary and description:

$listing['Listing']['text'];

Make the replacements in all places in the theme file.