Discourse Meta
如何在用户资料中创建自定义活动标签?
开发
Arkshine
2025年四月9日 11:36
2
我推荐使用
Introducing Discourse developer toolbar
。
然后,寻找一个插件插槽,你可以在其中插入一个组件:
然后你就可以看到例如:
该图片显示了网站或应用程序上的导航栏,其中包含“摘要”、“活动”、“通知”、“消息”、“邀请”和“徽章”等选项卡,其中一个突出显示的选项卡标记为“user-main-nav”,颜色为绿色。(由 AI 标注)
1072×137 12.3 KB
这是关于它的指南:
在主題中顯示貼文
相關主題
話題
回覆
觀看
活動
How to Integrate a Custom Plugin in discourse UI
Development
7
574
2025年二月15日
Developing Discourse Plugins - Part 2 - Connect to a plugin outlet
Developer Guides
plugin-guides
,
tutorial
38
30676
2025年十一月23日
How to add a custom button in user profile card?
Development
4
779
2024年三月25日
Using template hbs to add HTML content to a plugin outlet
Development
2
252
2025年六月23日
Missing PluginOutlet for second-factor.gjs component and for second-factor-add-totp.gjs
Development
development
12
522
2025年十月24日