# 分类标题不能超过 50 个字符

**URL:** <https://meta.discourse.org/t/category-title-cant-be-longer-than-50-characters/145369>\
**Category:** Support\
**Created:** [2020年三月24日 09:24 UTC](https://meta.discourse.org/t/category-title-cant-be-longer-than-50-characters/145369 "2020-03-24T09:24:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![epalley](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/epalley/32/137526_2.png) [@epalley](https://meta.discourse.org/u/epalley)\
**Post date:** [2020年三月24日 09:24 UTC](https://meta.discourse.org/t/category-title-cant-be-longer-than-50-characters/145369/1 "2020-03-24T09:24:35Z")

</div>

你好！

我想创建一个新分类，其标题长度超过了 50 个字符的限制。  
是否有参数或方法可以设置超过最大长度的标题？

感谢您的帮助！😀

---

<div class="post-metadata">

**Author:** ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)\
**Post date:** [2020年三月24日 11:46 UTC](https://meta.discourse.org/t/category-title-cant-be-longer-than-50-characters/145369/2 "2020-03-24T11:46:09Z")

</div>

这个设置够用吗？其默认值是 255 个字符，所以我不确定你是怎么把它改成 50 的，除非你修改了该值。

`最大主题标题长度`

---

<div class="post-metadata">

**Author:** ![epalley](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/epalley/32/137526_2.png) [@epalley](https://meta.discourse.org/u/epalley)\
**Post date:** [2020年三月24日 12:24 UTC](https://meta.discourse.org/t/category-title-cant-be-longer-than-50-characters/145369/3 "2020-03-24T12:24:53Z")

</div>

不幸的是，我指的是分类而不是主题 😕

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2020年三月24日 15:15 UTC](https://meta.discourse.org/t/category-title-cant-be-longer-than-50-characters/145369/4 "2020-03-24T15:15:54Z")

</div>

不存在。它在数据库中被硬编码为 50 个字符。要修改它将非常困难。

---

<div class="post-metadata">

**Author:** ![epalley](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/epalley/32/137526_2.png) [@epalley](https://meta.discourse.org/u/epalley)\
**Post date:** [2020年三月24日 15:18 UTC](https://meta.discourse.org/t/category-title-cant-be-longer-than-50-characters/145369/5 "2020-03-24T15:18:07Z")

</div>

好的，谢谢！我本来在寻找一种方法，但我还是给这个类别换个名字吧！

---

<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:** [2020年四月23日 15:18 UTC](https://meta.discourse.org/t/category-title-cant-be-longer-than-50-characters/145369/6 "2020-04-23T15:18:08Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
