Difference between revisions of "Customizing the list page"
From JReviews Documentation
Line 2: | Line 2: | ||
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. | 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 [http://demo. | + | Here is an [http://demo.jreviews.com/city-guide/hotels 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: | There are 4 different layouts available for list pages: Blogview, Tableview, Thumbview and Masonry. Each of those have their own theme files: |
Latest revision as of 21:05, 15 July 2016
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