# Может ли режим «Категории» показывать что-то кроме самого последнего автора?

**URL:** https://meta.discourse.org/t/can-categories-mode-show-something-other-than-most-recent-poster/253438
**Category:** Support
**Created:** [31.Январь.2023 05:15:12 UTC](https://meta.discourse.org/t/can-categories-mode-show-something-other-than-most-recent-poster/253438 "2023-01-31T05:15:12Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [31.Январь.2023 21:21:57 UTC](https://meta.discourse.org/t/can-categories-mode-show-something-other-than-most-recent-poster/253438/2 "2023-01-31T21:21:57Z")

</div>

Привет, Эд!

> [@Topic Author](https://meta.discourse.org/t/topic-author/111021):
>
> warning Deprecated in favour of [Topic List Author](https://meta.discourse.org/t/topic-list-author/269910)discourse2Summary Topic Author will change the layout of the /latest and categories and latest topic homepage showing in the first column the author of the topic. It works both on desktop and mobile.eyeglassesPreview [Preview on Discourse Theme Creator](https://discourse.theme-creator.io/theme/Discourse/topic-author)hammer_and_wrenchRepository Link [https://github.com/discourse/discourse-topic-author](https://github.com/discourse/discourse-topic-author)open_bookNew to Discourse Themes? [Beginner’s guide to using Discourse Theme…](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966)

Это делает именно то, что вам нужно, но также изменяет список тем, как в макетах `/latest`.

Это работает путём переопределения существующего шаблона.

Если вы хотите изменить только макет `/categories`, следуйте этим инструкциям:

> [@How to display OP avatar in latest column of the category](https://meta.discourse.org/t/how-to-display-op-avatar-in-latest-column-of-the-category/174872/8?u=canapin):
>
> If you only want to change that in the Category page and don’t want the other changes that the Discourse Topic Author will make you can override the components/latest-topic-list-item [https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/templates/components/latest-topic-list-item.hbs](https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/templates/components/latest-topic-list-item.hbs) With something like below in your theme: \<script type="text/x-handlebars" data-template-name="components/latest-topic-list-item"\> {{plugin-outlet name="above-latest-topic-list-…

Обратите внимание, что шаблоны в Discourse иногда меняются, поэтому новый код может потребовать корректировок время от времени (также возможно, что годами не потребуется никаких изменений).

* * *

ℹ Я нашёл всю эту информацию, поискав `#support display topic author avatar` 🔍 😺

 ![image](https://global.discourse-cdn.com/meta/original/4X/1/e/c/1ec2a26aa1661485fee257831f295b8c02894d68.png)

---

_[View the full topic](https://meta.discourse.org/t/can-categories-mode-show-something-other-than-most-recent-poster/253438)._
