Difference between revisions of "Directories Module"

From JReviews Documentation
Jump to: navigation, search
Line 7: Line 7:
 
*to modify the layout, the theme file of the Directories Module is located here:  
 
*to modify the layout, the theme file of the Directories Module is located here:  
 
**<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 <span style="color: blue">$showDirectoryLinks</span> to false in the theme file
+
*if you want to hide directory links, set '''$showDirectoryLinks''' to false in the theme file
*if you want to hide category links, set <span style="color: blue">$showCategoryLinks</span> to false in the theme file
+
*if you want to hide category links, set '''$showCategoryLinks''' to false in the theme file
  
  

Revision as of 22:44, 23 August 2010

You can use Directories Module as Directory/Section/Category navigation tree.


Example of the module layout

DirectoriesModule.png

  • to modify the layout, the theme file of the Directories Module is located here:
    • \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

DirectoriesModuleParameters.png

  • 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:

DirectoriesModule2.png

  • Directory IDs (optional) - you can configure which directories will be displayed in the module