# 如何在群组列表页面将群组全名替换为群组名称本身

**URL:** <https://meta.discourse.org/t/how-to-swap-a-group-full-name-for-the-group-name-itself-on-the-group-listing-page/130985>\
**Category:** Support\
**Created:** [2019年十月14日 21:03 UTC](https://meta.discourse.org/t/how-to-swap-a-group-full-name-for-the-group-name-itself-on-the-group-listing-page/130985 "2019-10-14T21:03:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoelZaslofsky](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joelzaslofsky/32/158556_2.png) [@JoelZaslofsky](https://meta.discourse.org/u/JoelZaslofsky)\
**Post date:** [2019年十月14日 21:03 UTC](https://meta.discourse.org/t/how-to-swap-a-group-full-name-for-the-group-name-itself-on-the-group-listing-page/130985/1 "2019-10-14T21:03:09Z")

</div>

我们的论坛刚刚从 v2.2.0.beta8+115 更新到了 2.4.0.beta5，现在我们拥有了新的默认 [群组列表页面](https://meta.discourse.org/g) 用户体验。

我想知道：如何将每个群组当前显示的“全名”值替换为每个群组的“名称”字段值？

以下是 Discourse 不同版本之间的对比：

**v2.2.0.beta8+115 群组列表页面中的群组名称显示**

来自 [https://yourforum.com/g/GroupName/manage/profile](https://yourforum.com/g/GroupName/manage/profile) 的“名称”字段首先显示，随后显示“全名”字段。

 ![beta8%20%20115](https://global.discourse-cdn.com/meta/original/3X/6/d/6d1e9c3130d21c81d44333adadbac5a6558e941c.jpeg)

**2.4.0.beta5 群组列表页面中的群组名称显示**

来自 [https://yourforum.com/g/GroupName/manage/profile](https://yourforum.com/g/GroupName/manage/profile) 的“名称”字段值不再显示，取而代之的是每个群组的“全名”字段值。

 ![Name%20and%20Full%20Name%20Group%20Value%20Swap](https://global.discourse-cdn.com/meta/original/3X/5/f/5f810c0add90b86366b65ebbc9575fe643c78c2d.png)

如果无法通过 CSS 技巧或其他管理员端编辑来显示“名称”而非“全名”，或许未来可以在 [https://yourforum.com/admin/site\_settings/category/groups](https://yourforum.com/admin/site_settings/category/groups) 添加一个管理员设置，用于切换显示“名称”或“全名”值。它可能看起来像这样：

 ![New%20Admin%20Option](https://global.discourse-cdn.com/meta/original/3X/a/2/a2bdcc0e733f827715d60be692518d41e3e56711.png)

如果勾选该管理员设置，则将使用下方的“名称”字段值，而不是“全名”字段值。

 ![Alternative%20Field%20Value](https://global.discourse-cdn.com/meta/original/3X/1/c/1cf979333be1a433c9b159e4865752f9b29f198e.png)

---

<div class="post-metadata">

**Author:** ![JoelZaslofsky](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joelzaslofsky/32/158556_2.png) [@JoelZaslofsky](https://meta.discourse.org/u/JoelZaslofsky)\
**Post date:** [2019年十月18日 14:45 UTC](https://meta.discourse.org/t/how-to-swap-a-group-full-name-for-the-group-name-itself-on-the-group-listing-page/130985/2 "2019-10-18T14:45:22Z")

</div>

我肯定不是唯一一个在群组列表页更希望显示群组简称而非群组全称的人，对吧？

---

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [2019年十月18日 16:49 UTC](https://meta.discourse.org/t/how-to-swap-a-group-full-name-for-the-group-name-itself-on-the-group-listing-page/130985/3 "2019-10-18T16:49:49Z")

</div>

我一定是漏掉了什么。把“全名”改成和“名称”一样，难道不很容易吗？

---

<div class="post-metadata">

**Author:** ![JoelZaslofsky](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joelzaslofsky/32/158556_2.png) [@JoelZaslofsky](https://meta.discourse.org/u/JoelZaslofsky)\
**Post date:** [2019年十月23日 13:19 UTC](https://meta.discourse.org/t/how-to-swap-a-group-full-name-for-the-group-name-itself-on-the-group-listing-page/130985/4 "2019-10-23T13:19:12Z")

</div>

我在创建这个主题之前也考虑过这一点。这对于群组列表页面来说效果不错，但对于群组详情页面则不太理想。

由于我们拥有大量群组，并计划继续增加更多，我们的社区用户更倾向于看到群组的简短描述，这样他们在考虑加入时无需阅读完整描述。

例如，如果我将我们的“艺术与手工艺”群组保持相同的名称值，同时将“完整名称”值也改为“ArtsAndCrafts”，那么您就会错过当前“各种媒介、形式和学科的艺术家与手工艺者”这一简短描述。

 ![image](https://global.discourse-cdn.com/meta/original/3X/1/d/1d77ead4746e002da0f0b9dca73c55a3b5cdb4e7.png)

这并非我最重要甚至最好的建议。它只是为我所在社区提供的一种不错的用户体验和简洁性提升。

如果其他人不感兴趣，或者实现起来耗时过长，我可以就此作罢。

---

<div class="post-metadata">

**Author:** ![Hifihedgehog](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hifihedgehog/32/140207_2.png) [@Hifihedgehog](https://meta.discourse.org/u/Hifihedgehog)\
**Post date:** [2019年十一月14日 02:06 UTC](https://meta.discourse.org/t/how-to-swap-a-group-full-name-for-the-group-name-itself-on-the-group-listing-page/130985/5 "2019-11-14T02:06:18Z")

</div>

[我遇到了相反的问题。我的论坛默认显示别名或组名，拒绝显示我自定义组的完整名称。](https://meta.discourse.org/t/public-group-list-shows-inconsistent-name-or-full-name/133069/7) 我是否漏掉了某个在两者之间切换的步骤？

---

<div class="post-metadata">

**Author:** ![MarcP](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marcp/32/160184_2.png) [@MarcP](https://meta.discourse.org/u/MarcP)\
**Post date:** [2019年十一月14日 02:55 UTC](https://meta.discourse.org/t/how-to-swap-a-group-full-name-for-the-group-name-itself-on-the-group-listing-page/130985/6 "2019-11-14T02:55:41Z")

</div>

只是链接一下，因为我觉得有两个主题讨论的是同一个问题。

> [@Public group list shows inconsistent Name or Full Name](https://meta.discourse.org/t/public-group-list-shows-inconsistent-name-or-full-name/133069?u=marcp):
>
> On the group page, some groups are listed with their Name, and some with the Full Name. This creates a ugly overview, because of random usage of capitals in some groups and some being listed as the url slug. Example Full Name versus Name (Name would be better named as ‘slug’?) Group 1: example-group Group 2: Example group

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2023年八月8日 11:26 UTC](https://meta.discourse.org/t/how-to-swap-a-group-full-name-for-the-group-name-itself-on-the-group-listing-page/130985/7 "2023-08-08T11:26:40Z")

</div>


