Difference between revisions of "Directories Module"
From JReviews Documentation
Line 5: | Line 5: | ||
[[File:DirectoriesModule.png]] | [[File:DirectoriesModule.png]] | ||
− | *to modify the layout, the theme file of the Directories Module | + | *to modify the layout, edit the theme file of the Directories Module: |
**<span style="color: blue">\com_jreviews\jreviews\views\themes\default\modules\directories.thtml</span> | **<span style="color: blue">\com_jreviews\jreviews\views\themes\default\modules\directories.thtml</span> | ||
*if you want to hide directory links, set '''$showDirectoryLinks''' to false in the theme file | *if you want to hide directory links, set '''$showDirectoryLinks''' to false in the theme file | ||
Line 15: | Line 15: | ||
[[File:DirectoriesModuleParameters.png]] | [[File:DirectoriesModuleParameters.png]] | ||
*'''Module Class Suffix''' - a suffix will be applied to the CSS class of the module. This allows individual module styling | *'''Module Class Suffix''' - a suffix will be applied to the CSS class of the module. This allows individual module styling | ||
− | *'''jReviews Template Suffix''' - you can set "_folders" as suffix to display alternative theme file with folder icons: | + | *'''jReviews Template Suffix''' - you can set "_folders" as suffix to display an alternative theme file with folder icons: |
[[File:DirectoriesModule2.png]] | [[File:DirectoriesModule2.png]] | ||
Revision as of 14:12, 1 February 2011
You can use Directories Module as Directory/Section/Category navigation tree.
Example of the module layout
- to modify the layout, edit the theme file of the Directories Module:
- \com_jreviews\jreviews\views\themes\default\modules\directories.thtml
- if you want to hide directory links, set $showDirectoryLinks to false in the theme file
- if you want to hide category links, set $showCategoryLinks to false in the theme file
Module's Parameters
- Module Class Suffix - a suffix will be applied to the CSS class of the module. This allows individual module styling
- jReviews Template Suffix - you can set "_folders" as suffix to display an alternative theme file with folder icons:
- Directory IDs (optional) - you can configure which directories will be displayed in the module