* Graham * tiaxgame For this rearrange the comment macro in the twig file something like
{% macro comments_list (comments, ctx) %}
                            {% for comment in comments %}
                                <div class="xt_blog_comment{% if comment.owner_of_comment %} xt_blog_comment_author_admin{% endif %}">
                                        <span class="xt_blog_comment_author">
                                        {% if comment.author_profile %}
                                            <a href="{{ comment.author_profile.link }}"><img src="{{ comment.author_profile.avatars[16] }}" style="display:inline">{{ comment.author_profile.name }}</a>
                                        {% else %}
                                            {{ comment.nick }}
                                        {% endif %}:
                                    </span><br />
                                     {% if comment.is_hidden %}
                                        <div class="xt_blog_comment_content">{{ ctx.data.translations.t_hidden_comment }}</div>
                                    {% else %}
                                        <div class="xt_blog_comment_content">{{ comment.message|raw }}</div>
                                    {% endif %}
                                    {% if not ( ctx.data.entry.in_comments_thread and comment.childs and (comment.childs_count > 0) ) %}
                                        <div class="xt_blog_comment_actions">
                                            <a href="{{ comment.reply_link }}" class="xt_blog_comment_action_reply">{{ ctx.data.translations.t_reply }}</a>
                                            {% if ctx.data.is_logged_in and not comment.is_hidden and not data.comments_form.is_maintenance %}
                                                {% if ctx.data.reported_spam and ctx.data.reported_spam == comment.id %}
                                                    <span class="xt_blog_comment_action_reported">{{ctx.data.translations.t_reported}}</span>
                                                {% else %}
                                                    <a href="{{ comment.spam_link }}" class="xt_blog_comment_action_report_spam">{{ ctx.data.translations.t_report_spam }}</a>
                                                {% endif %}
                                            {% elseif not ctx.data.is_logged_in and not comment.is_hidden and not data.comments_form.is_maintenance %}
                                                <a href="{{ comment.login_link }}" class="xt_blog_comment_action_report_spam">{{ ctx.data.translations.t_report_spam }}</a>
                                            {% endif %}
                                            {% if not comment.childs and (comment.childs_count > 0) %}
                                                <a href="{{ comment.reply_link }}" class="xt_blog_comment_action_reply">{{ ctx.data.translations.t_show_replies }} ({{comment.childs_count}})</a>
                                            {% endif %}
                                            {% if comment.show_more %}
                                                <a href="{{ comment.reply_link }}" class="xt_blog_comment_action_reply">{{ ctx.data.translations.t_show_all_replies }}</a>
                                            {% endif %}
                                        </div>
                                    {% endif %}
<span class="xt_blog_comment_date">[{{ comment.date }}]</span>
                                    {% if comment.childs %}
                                        <div class="xt_reply" style="margin: 5px 6px;">
                                            {{ _self.comments_list(comment.childs, ctx) }}
                                        </div>
                                    {% endif %}
                                </div>
                            {% endfor %}
                        {% endmacro %}

Copy code

Showing the time of the last comment in the post list will require Justas to create a new parameter like for the tags
2014-08-24 02:52 (edited 2014-08-24 03:05 by Graham ) · (0)

Online: Guests: 1