Module most_commented
This Module displays the most commented objects of a certain type.
Usage
To use module most_commented in a wiki page:
Copy to clipboard
{module module="most_commented" objectType="blog" objectLanguageFilter="en"}
Where:
Display the most commented objects of a certain type.
Go to the source code
Parameters | Accepted Values | Description | Default | Since |
---|---|---|---|---|
objectLanguageFilter |
If set to a RFC1766 language tag, restricts the objects considered to those in the specified language. | |||
objectType |
Type of objects to consider. Possible values: wiki (Wiki pages), blog (blog posts), article (articles). Default: wiki |
Example
In the example below we pass in a wiki page the module most_commented through the plugin module.
So, this code:
Copy to clipboard
{module module="most_commented" objectType="wiki" objectLanguageFilter="en"}
Produces on this site:
Related Pages
See these pages for information that applies for all modules:
- Module — Overall introduction and overview
- Module Admin — Introduction to the module admin pages for site-wide and individual module settings
- Assigning Modules — How to select a module to configure it
- Module Settings Interface — Interface for configuring individual module settings
- Module Settings Parameters — Explanation of standard parameter settings for modules
- Creating Custom Modules — How to create user modules
- Index of Modules — Links to the documentation of individual modules
- User Modules — How (if the feature is active) users can choose and place their modules
- Mods Type Modules — Links to modules that are installed as components
Most Commented