Jump to content

Comments feed of articles

Featured Replies

Posted

For the forum there is a block to display the latest posts published on topics.
For Page it does not exist ?? It's been 20min that I'm looking for a way to post the comments of articles.:ph34r:

You have to create your feeds for Pages databases in the ACP. Then they'll appear as a custom block which you can drag and drop from the front.

  • Author

@Meddysong I can only create feeds from Page database who are showing articles, not comments :unsure:

I think the settings

Minimum Comments 1

and

Sort by Recently Updated

provide the same result. You can't see what the comment is in the block but if you click on the title it takes you to the last comment. Does that solve your problem?

  • Author

Not really because it's showing articles titles. I would have content of articles comment, just like it works for forum/topics/post. ;)

It looks like that is indeed a missing feature then! :(

  • Author

Thanks for your help anyway ^_^

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

  • 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:

LD4Sr8a.png

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"}" />
</a>                      
<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>
{{else}}
<i class="ipsCursor_help fa fa-user-circle" data-ipstooltip="" title='Author'></i>
{{endif}}
</p>
<div class='replyORauthor'> 
<div>
{{if $record->mapped('num_comments')}}
{template="userPhoto" group="global" app="core" params="$record->lastCommenter(), 'tiny'"} {$record->lastCommenter()->link()|raw}  
{{else}}
{template="userPhoto" group="global" app="core" params="$record->author(), 'tiny'"} {$record->author()->link()|raw} 
{{endif}}
</div>  
<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>
</div>
</div>        
</li>
{{endforeach}}
</ul>
</div>

 

/* 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;
}

 

Archived

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

Recently Browsing 0

  • No registered users viewing this page.