# Developing Discourse Plugins - Part 2 - Connect to a plugin outlet

**URL:** https://meta.discourse.org/t/developing-discourse-plugins-part-2-connect-to-a-plugin-outlet/31001
**Category:** Developer Guides
**Tags:** plugin-guides, tutorial
**Created:** [7월 12, 2015, 5:48오후 UTC](https://meta.discourse.org/t/developing-discourse-plugins-part-2-connect-to-a-plugin-outlet/31001 "2015-07-12T17:48:27Z")
**Posts on this page:** 1
**Showing post:** 36

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [4월 12, 2023, 7:27오후 UTC](https://meta.discourse.org/t/developing-discourse-plugins-part-2-connect-to-a-plugin-outlet/31001/36 "2023-04-12T19:27:30Z")

</div>

Discourse의 코드가 변경되어 가이드가 오래되었을 것 같습니다.

다음과 같은 예시를 찾고 있습니다:

> [@eviltrout](#):
>
> discourse의 handlebars 템플릿을 둘러보면 다음 마크업을 자주 볼 수 있습니다:
> 
> ```plaintext
> {{plugin-outlet name="edit-topic"}}
> 
> ```

대신 이것을 찾았습니다:

[https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/templates/topic.hbs#L80](https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/templates/topic.hbs#L80)

그리고 이 놀라운 테마 컴포넌트([(deprecated) Plugin outlet locations theme component](https://meta.discourse.org/t/plugin-outlet-locations-theme-component/100673))를 사용하면 이 아웃렛이 있어야 할 위치를 확인할 수 있습니다:

 ![image](https://global.discourse-cdn.com/meta/original/4X/1/7/3/17372e025509d8b38846c169ddca733f8f54f2f2.jpeg)

질문에 대한 답변으로, 제 추측은 동일하지만 새로운 구문을 사용한다는 것입니다.

---

_[View the full topic](https://meta.discourse.org/t/developing-discourse-plugins-part-2-connect-to-a-plugin-outlet/31001)._
