Difference between revisions of "Category Layout Manager"

From JReviews Documentation
Jump to: navigation, search
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
* Theme Manager allows you to create the look & feel of individual sections or categories, including the detail pages in them.
 
  
*When you click on "Section Themes" or "Category Themes" button, you will see the list of all sections/categories and you can select a different category list view (Blogview, Tableview or Thumbview) and theme file suffix for each of them.
+
The Category Layout Manager allows you to easily manage customizations for individual categories in JReviews, including the listing detail pages.
  
*When a suffix is assigned (i.e. _hotels), you can copy and rename any view/css file to use that suffix. If the file is found it will be used, otherwise the default view/css files are used.
+
The Category Layout Manager displays a list of all categories, allowing you to select a different layout (Tableview, Blogview, Thumbview or Masonry) and assign theme file suffixes for each of them. Theme suffixes are explained in more detail below.
  
*After adding a new file into your theme, you must click on "Clear File Registry" link in JReviews Administration.
+
For any given page, except for search results, the category theme setup is checked first, then the global setting (List page tab in configuration settings).
 +
 
 +
[[File:theme-manager.png]]
 +
 
 +
When a suffix is assigned (i.e. _museums), you can copy and rename any view/css file to use that suffix. If the file is found, it will be used, otherwise the default view/css files are used.
 +
 
 +
Example:
 +
 
 +
* /listings/detail.thtml - original detail page theme file
 +
* /listings/detail_museums.thtml - modified file that will be used only for listings that belong to the Museums category.
 +
 
 +
After adding new files to your JReviews theme, you must always click the Clear Cache & File Registry link in the JReviews Administration so JReviews can recognize the new files:
 +
 
 +
[[File:cache-fileregistry.png]]
 +
 
 +
== Theme suffixes in menus and modules ==
 +
 
 +
You can also have different theme files for JReviews Menu items and Modules.
 +
 
 +
For the Menu Items, you can specify different theme suffix in the menu item's preferences.
 +
 
 +
For the Modules, you can specify different theme suffix in the module's preferences.
 +
 
 +
 
 +
 
 +
 
 +
[[Category:JReviews]]
 +
[[Category:Themes]]

Latest revision as of 18:50, 28 June 2019

The Category Layout Manager allows you to easily manage customizations for individual categories in JReviews, including the listing detail pages.

The Category Layout Manager displays a list of all categories, allowing you to select a different layout (Tableview, Blogview, Thumbview or Masonry) and assign theme file suffixes for each of them. Theme suffixes are explained in more detail below.

For any given page, except for search results, the category theme setup is checked first, then the global setting (List page tab in configuration settings).

Theme-manager.png

When a suffix is assigned (i.e. _museums), you can copy and rename any view/css file to use that suffix. If the file is found, it will be used, otherwise the default view/css files are used.

Example:

  • /listings/detail.thtml - original detail page theme file
  • /listings/detail_museums.thtml - modified file that will be used only for listings that belong to the Museums category.

After adding new files to your JReviews theme, you must always click the Clear Cache & File Registry link in the JReviews Administration so JReviews can recognize the new files:

Cache-fileregistry.png

Theme suffixes in menus and modules

You can also have different theme files for JReviews Menu items and Modules.

For the Menu Items, you can specify different theme suffix in the menu item's preferences.

For the Modules, you can specify different theme suffix in the module's preferences.