Jump to content

Comments feed of articles


Recommended Posts

  • 3 weeks later...
On 18/1/2018 at 8:19 AM, Archimed said:

Thanks for your help anyway ^_^

If someone want to create a plugin, I will buy it !

I got tired of asking for this.
I only have something like last commented articles:


In case you want to use or improve it :thumbsup:

<div class='block_article_comments'>	
<h3 class='ipsWidget_title ipsType_reset'>{$title}</h3>
<ul class='ipsDataList ipsWidget_inner ipsPad_half'>
{{foreach $records as $record}}
<li class='ipsDataItem ipsClearfix'>
<a href="{$record->url()}" title="{lang="read_more_about" sprintf="$record->_title"}"> 
<img class='homeLN_image' alt="image" src="{file="$record->_record_image_thumb" extension="cms_Records"}" />
<p class='cat'>
<a title='{$record->container()->_title}' href="{$record->container()->url()}">{$record->container()->_title}</a>
{{if $record->mapped('num_comments')}}
<i class="ipsCursor_help fa fa-comments" data-ipstooltip="" title='Reply'></i>
<i class="ipsCursor_help fa fa-user-circle" data-ipstooltip="" title='Author'></i>
<div class='replyORauthor'> 
{{if $record->mapped('num_comments')}}
{template="userPhoto" group="global" app="core" params="$record->lastCommenter(), 'tiny'"} {$record->lastCommenter()->link()|raw}  
{template="userPhoto" group="global" app="core" params="$record->author(), 'tiny'"} {$record->author()->link()|raw} 
<div class='replyORauthortxt' data-ipsTruncate data-ipsTruncate-size='1 lines' data-ipsTruncate-type='remove'>
<a href="{$record->url()}" title="{lang="read_more_about" sprintf="$record->_title"}">{wordbreak="$record->_title"}</a>


/* News comments */ 
.block_article_comments {
  /*Here configure it according to your needs*/
.block_article_comments h3 {
  margin: 0 0 10px 0;
  padding: 0 0 10px 0;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 400;
  border-bottom: 3px solid #b95361;
  color: #000000;
.block_article_comments li {
  margin: 0 0 17px 0;
  padding: 0 0 18px 0;
.block_article_comments li .homeLN_image {
  float: left; 
  width: 80px; 
  height: 80px; 
  margin: 0 15px 0 0;
.block_article_comments li .cat {
  margin: 0 0 10px 0;
.block_article_comments li .cat a {
  padding: 0;
  color: #9492a5;
  font-weight: 400;
  font-size: 11px;
  text-transform: uppercase;
.block_article_comments li .cat .fa {
  float: right;
  color: #9492a5;
.block_article_comments .ipsUserPhoto_tiny img, .block_article_comments img.ipsUserPhoto_tiny, .block_article_comments .ipsUserPhoto_tiny::after {
  width: 20px;
  height: 20px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
.block_article_comments .replyORauthortxt {
  margin: 8px 0 0 0;
.block_article_comments .replyORauthortxt a {
  font-weight: bold;


Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...