Loading...
 
Skip to main content

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:

 Failed to execute "most_commented" module
Contact the system administrator

See these pages for information that applies for all modules:


Warning: session_write_close(): Write failed: Disk quota exceeded (122) in /home/tiki-doc/public_html/vendor_bundled/vendor/laminas/laminas-session/src/SessionManager.php on line 238

Warning: session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/home/tiki-doc/tmp) in /home/tiki-doc/public_html/vendor_bundled/vendor/laminas/laminas-session/src/SessionManager.php on line 238