Discourse Meta
Can I override app/views/layouts/application.html.erb from a plugin?
Development
riking
(Kane York)
2020 年11 月 1 日 13:06
5
不如直接采用主题方案。你可以在获取信息的任意 API 前添加一个标准缓存层。
在话题中显示帖子
相关话题
话题
回复
浏览量
活动
Example Plugin: Custom Activity Summary Template
Plugin
activity-summary
4
2748
2023 年3 月 7 日
(not recommended) Overriding Discourse templates from a Theme or Plugin
Developer Guides
how-to
9
3224
2024 年3 月 7 日
Working with .erb templates in a plugin
Developers
0
226
2025 年1 月 6 日
How to override a template.hbs from a plugin
Development
5
1927
2024 年7 月 23 日
How to override `admin.hbs`
Development
8
1955
2018 年10 月 9 日