where can I define categories on my instance?
thanks,
Emma
where can I define categories on my instance?
thanks,
Emma
Go to /categories, to the right of the navigation is a menu, Create Category should be in it.
Have a read through some of the topics in the howto section – they’ll guide you through a lot of this setup stuff.
I have the latest version of Discourse. I’m getting it organized before launching it to the public. The option to add new categories is missing. I follow the instructions:
" To add a category, visit the categories page , then click Create Category at the upper right."
There is no “Create Category” button so I’m at a dead end. Any help would be greatly appreciated.
Incredible! That solved my problem. Thank you for getting me unstuck 
看起来你不是管理员,据我所知,只有管理员才能添加分类。
如何向新类别添加数字?
你是指 URL 末尾显示的那个数字吗?我希望它能被修改,但据我所知,它是自动分配的。
不,我的意思是要给特定分类添加一个编号——我想在分类“78”下发布帖子,这意味着该帖子属于“Instagram”分类。
您的提问仍然不够清楚,抱歉。
你可以从 URL 中提取分类 ID,并将其编辑到分类标题中,例如"78. Instagram"。
URL forum.example.com/c/78 会跳转到分类页面。
据我所知,分类 ID 是自动递增的,因此你不能随意指定一个数字。
抱歉,您说得对。我不得不创建该类别,并在 Discourse 引导数据库中编辑其编号。
是的,Jonathan5。这完全奏效了。谢谢!
我并非说自己有强迫症,但我很想听听该如何操作……
在 Ubuntu 上安装 Discourse 本地开发环境后,运行了 rails db:create 和 rails db:migrate,然后启动了服务器 rails s。
接着,我访问了本地 Discourse 并使用管理员账号创建了一个分类。
之后,我登录到 pgAdmin,在 discourse_development 数据库中打开了 categories 表,看到了我新创建的分类,其 ID 为 3(我记得)。我将其 ID 改为 78 并保存。
所以,这仅仅是修改 categories 表中的 id 吗?有点心动。
会不会有什么意想不到的后果?
Uncategorised=1、Staff=3、Lounge=4 等编号是否有特殊含义?
URL(例如帖子文本中的链接)是否需要重新生成?
谢谢。
到目前为止我还没见过任何负面反馈,不过我使用这款应用的时间也不长。抱歉,我无法回答您的问题。也许有人可以帮忙?