Create comments lists (widgets) and publish them on the website. The widgets are generated using cot_comlist() function:
{PHP|cot_comlist($tpl, $items = 0, $order, $extra, $group = 0, $offset = 0, $pagination, $ajax_block, $cache_name, $cache_ttl)}
The function accepts the following parameters:
- $tpl -- template name (comlist by default)
- $items -- number of records (0 -- publish all)
- $order -- SQL-sorting (com_id DESC by default)
- $extra -- extra SQL-query
- $group -- group comments by pages (0 by default)
- $offset -- offset records (0 by default)
- $pagination -- pagination parameter name for the URL
- $ajax_block -- DOM block ID for ajax pagination
- $cache_name -- Cache name
- $cache_ttl -- Cache TTL
The installation is standard. The Comments plugin shall be preinstalled.
Thanked: 48 kez
Чем он принципиально отличается от плагина pagecom и pagelist ?
только тем, что работает только с комментариями ?
Thanked: 217 kez
От pagecom ничем -- переименован + мелкие исправления.
От pagelist всем.
Thanked: 48 kez
А в чём причина преименования ?
Thanked: 217 kez
Так правильнее: comlist -- список комментариев
Thanked: 26 kez
Спасибо за обновление! Нужный плагин!