Discourse UI에 커스텀 플러그인 통합하는 방법

I’m developing a new plugin for my Discourse instance. While the plugin itself is working fine, I’m having difficulty integrating it into the Discourse UI. I’ve reviewed the available documentation, but some parts are still unclear to me. As I’m new to this, I would greatly appreciate a detailed, step-by-step guide on how to add the plugin to the UI. Even a simple example (such as a highlighted “yellow box”) would be very helpful in understanding the process.

Thank you for your assistance!

이것은 다소 모호합니다. 더 구체적으로 말씀해 주실 수 있을까요? UI에 정확히 무엇을 추가하고 싶으신가요?

기존 Customization > Plugin 소스 코드를 살펴보고 그들이 무엇을 하고 있는지 확인해 보셨나요? (이것은 오픈 소스의 장점 중 하나입니다)

@merefield I basically want to add a plugin to my Discourse instance that displays a small box on my page. My goal is to understand how to do it, such as a plugin that displays ‘Hello, World!’ in one of these areas, so that I can create something more complex in the future

You would need to use a plugin outlet.

A neat tool for figuring out the location and plugin outlet’s name:

Thank you! I’ll give it a try and come back with my feedback.

It worked! I installed the Ember.js Chrome extension and was able to locate the PluginOutlet on my site. After following the documentation, everything functioned as expected.

Also have a look at these theme components Custom Header Links and Custom Header Links (icons).

If all you want to do is add a button, you don’t need a plugin.

Don’t forget your TC :wink: