Comlist

This page is not translated yet. Showing original version of page. You can sign up and help with translating.

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.


1. Kabak  2023-06-14 09:31

Чем он принципиально отличается от плагина pagecom и pagelist ? 

только тем, что работает только с комментариями ?

2. Kort  2023-06-14 09:33

От pagecom ничем -- переименован + мелкие исправления.

От pagelist всем.

3. Kabak  2023-06-14 09:40

А в чём причина преименования ?

4. Kort  2023-06-14 09:42

Так правильнее: comlist -- список комментариев

5. Denisbox  2023-06-14 09:49

Спасибо за обновление! Нужный плагин!

Yalnızca kayıtlı kullanıcılar yorum yapabilir