Customizing the list page

From JReviews Documentation
Revision as of 21:05, 15 July 2016 by Jreviews (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

List pages display a list of listings. Those are category pages, search result pages and any other special type of pages which displays multiple listings.

Here is an example of a category list page on the demo site.

There are 4 different layouts available for list pages: Blogview, Tableview, Thumbview and Masonry. Each of those have their own theme files:

  • /com_jreviews/jreviews/views/themes/default/listings/listings_blogview.thtml - Blogview
  • /com_jreviews/jreviews/views/themes/default/listings/listings_tableview.thtml - Tableview
  • /com_jreviews/jreviews/views/themes/default/listings/listings_thumbview.thtml - Thumbview
  • /com_jreviews/jreviews/views/themes/default/listings/listings_masonry.thtml - Masonry


Before making any theme changes, read about JReviews Code Overrides and create a custom theme. Every list page also includes a separate "list page header" theme file which contains the pagination, page title, category list, etc. This is the theme file:

  • /com_jreviews/jreviews/views/themes/default/listings/listings_header.thtml