3
Quote:
irmtfan wrote:
for show more than 10 comments edit block and change "number of comments to show"
Thanks for your reply irmtfan.
The file related to the "recent comment block" I find is as below: Could you teach me how to modify the code such that more than 10 recent comments shown?
Thank in advance.
modules\system\templates\blocks\system_block_comments.html
==========================================================
<table width="100%" cellspacing="1" class="outer">
<{foreach item=comment from=$block.comments}>
<tr class="<{cycle values="even,odd"}>">
<td align="center"><img src="<{$xoops_url}>/images/subject/<{$comment.icon}>" alt="" /></td>
<td><{$comment.title}></td>
<td align="center"><{$comment.module}></td>
<td align="center"><{$comment.poster}></td>
<td align="right"><{$comment.time}></td>
</tr>
<{/foreach}>
</table>