# Using Plugin Outlet Connectors from a Theme or Plugin

**URL:** https://meta.discourse.org/t/using-plugin-outlet-connectors-from-a-theme-or-plugin/32727
**Category:** Developer Guides
**Tags:** how-to, code
**Created:** [August 31, 2015, 7:35am UTC](https://meta.discourse.org/t/using-plugin-outlet-connectors-from-a-theme-or-plugin/32727 "2015-08-31T07:35:05Z")
**Posts on this page:** 1
**Showing post:** 45

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [October 14, 2024, 10:28am UTC](https://meta.discourse.org/t/using-plugin-outlet-connectors-from-a-theme-or-plugin/32727/45 "2024-10-14T10:28:51Z")

</div>

I found a solution for my problem ([here](https://meta.discourse.org/t/cannot-put-the-template-in-the-desired-outlet/330650/6)), but it was something like this:

- Create `.hbs` and `.js` files for 3 different outlets.
- In each JS file, check if the outlet it is using is the setting `banner_location` value.
- If it is, show the banner. If not, hide the banner.

---

_[View the full topic](https://meta.discourse.org/t/using-plugin-outlet-connectors-from-a-theme-or-plugin/32727)._
