Difference between revisions of "Category Layout Manager"

From JReviews Documentation
Jump to: navigation, search
Line 3: Line 3:
 
Theme Manager allows you to create the look & feel of individual sections or categories, including the detail pages in them.
 
Theme Manager allows you to create the look & feel of individual sections or categories, including the detail pages in them.
  
On the Theme Manager page, 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.
+
On the Theme Manager page, 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 layout (Blogview, Tableview or Thumbview) and  theme file suffix for each of them.
  
 
For any given page, except search result pages, the category setup is checked first, then the section setup and finally the global setting (items list tab in configuration settings).
 
For any given page, except search result pages, the category setup is checked first, then the section setup and finally the global setting (items list tab in configuration settings).

Revision as of 00:57, 23 August 2010

What is Theme Manager

Theme Manager allows you to create the look & feel of individual sections or categories, including the detail pages in them.

On the Theme Manager page, 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 layout (Blogview, Tableview or Thumbview) and theme file suffix for each of them.

For any given page, except search result pages, the category setup is checked first, then the section setup and finally the global setting (items list tab in configuration settings).


Examples

TemplateManager.png

When a suffix is assigned (i.e. _services), 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_services.thtml - modified file that will be used only for articles that belong to Services section


To learn how to modify theme files and which files need to be modify, read Theme Customization articles


After adding new files into your theme, you must click on Clear File Registry link in JReviews Administration for JReviews to recognize new files.

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.