Difference between revisions of "Customizing the list page"
From JReviews Documentation
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | 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.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: | ||
+ | *<span style="color: blue">/com_jreviews/jreviews/views/themes/default/listings/listings_blogview.thtml</span> - Blogview | ||
+ | *<span style="color: blue">/com_jreviews/jreviews/views/themes/default/listings/listings_tableview.thtml</span> - Tableview | ||
+ | *<span style="color: blue">/com_jreviews/jreviews/views/themes/default/listings/listings_thumbview.thtml</span> - Thumbview | ||
+ | *<span style="color: blue">/com_jreviews/jreviews/views/themes/default/listings/listings_masonry.thtml</span> - 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: | |
− | + | *<span style="color: blue">/com_jreviews/jreviews/views/themes/default/listings/listings_header.thtml</span> | |
− | + | ||
− | *< | + | |
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
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