Generates commented resources list
Uch |
|
---|---|
Comlist Plugin is a PageList clone. It shows commented pages, polls etc. (Siena) You can use it to generate last commented pages/polls/etc. list, most commented pages/polls/etc. list and so on. As a Pagelist Plugin, Comlist is available via {PHP|comlist} callback from TPL file with the following settings:
$tpl - Template code (TPL file name without ".php" at the end) return string Parsed HTML Examples: {PHP|comlist('comlist', '10', 'com_maxdate DESC', '', 'page;polls', '', 'true')} shows 10 last commented pages and polls in all pages categorys without pagination {PHP|comlist('comlist', '5', 'com_maxdate DESC', '', 'page', '+news;-sport', 'TRUE', 'pcl')} shows 5 last commented pages in 'news' categorys without pages in 'news/sport' category with pagination {PHP|comlist('comlist', '5', 'com_count DESC', '', '', '', 'TRUE', 'pcl')} shows 5 most commented resources (pages,polls, etc.) in all availible areas with pagination {PHP|comlist('comlist', '5', 'com_count DESC', '', '', '+articles', 'FALSE')} shows 5 most commented pages of the root articles category without pagination You can turn on/turn off caching and caching for authorized users in administration panel. Cache is sensitive to TPL code, location, language and page number. |