我试过了!但是它不起作用!所以我发布了这个问题。
您也可以在以下地址寻求帮助:
如何让右侧边栏在所有地方都显示?不只在主页和分类页。
“添加主题”按钮不起作用
嗯……我在主题创建器中预览时运行正常。
如果你想专门针对“新建主题”按钮,可以尝试:
button#create-topic {
// 在此处添加内容...
}
当同时满足以下条件时:
- 收到私信
- 带有标签
- 查看时不显示侧边栏
宽度会变得非常小
原因:
.navigation-topics,
.categories-list,
body[class*="tag-"]:not(.archetype-regular):not(.archetype-banner),
body[class*="category-"]:not(.archetype-regular):not(.archetype-banner):not(.archetype-banner):not(.archetype-private_message) {
在 fkb-d-topic-list.scss 中被应用了,但本不应如此。
我怀疑需要添加 :not(.archetype-private_message)。
不过,我想知道为什么它会如此具体地针对这些架构类型?它是否只是在判断当前是否在话题列表页面(而非话题详情页)?
看起来是新的现代基础实验性变更导致了这种行为。关闭该选项后,内边距似乎恢复正常。
标题:
[Bug] 主题在 Discourse 2026.4.0-latest 上崩溃 — 无法找到模块 'ember-this-fallback/js-component'
描述:
在将 Discourse 更新至 v2026.4.0-latest(提交 19374472fd)后,FKB Pro 主题导致前端致命崩溃,使论坛部分无法使用。Discourse 显示橙色横幅:
“由于主题/组件有错误,您的站点可能无法正常运行。由 ‘FKB Pro theme’ 引起。”
根本原因:
该主题(或其某个组件)仍引用了 ember-this-fallback/js-component 模块,该模块在近期版本中已从 Discourse 核心移除。此模块是用于兼容已弃用的 Ember this-property-fallback 模式的兼容性垫片,允许模板使用 {{foo}} 代替 {{this.foo}}。Discourse 已正式宣布移除该垫片,并要求所有主题和插件迁移到显式的 this. 绑定。
浏览器控制台错误信息:
Failed to load theme 4 from https://www.sitetalk.net/...
Error: Could not find module 'ember-this-fallback/js-component' imported from (require)
[THEME 4 'FKB Pro theme'] Error: Could not find module 'ember-this-fallback/js-component' imported from (require)
at vendor.js
at requireModule (vendor.js)
at Object.lookup (chunk.js)
...
at reportThemeError (chunk.js)
(控制台显示的 Discourse 版本:v2026.4.0-latest,Ember 版本:v6.10.1)
环境信息:
| 项目 | 值 |
|---|---|
| Discourse 版本 | v2026.4.0-latest(提交 19374472fd) |
| Ember 版本 | v6.10.1 |
| 主题 | FKB Pro(从此仓库默认安装) |
| 复现情况 | 升级 Discourse 后 100% 可复现 |
我们希望开发者能修复此问题。谢谢!!!
你好,在将Discourse更新至 v2026.4.0-latest — Ember v6.10.1 出现了错误,使论坛无法使用
client-error-handler.js:109 [THEME 28 ‘FKB Pro theme’] Error: Could not find module ember-this-fallback/this-fallback-helper imported from (require)
at loader.js:247:1
at a (loader.js:258:1)
at requireModule (loader.js:24:1)
at Object.lookup (app.js:36:12)
希望进行修复。


