# Cannot put the template in the desired outlet

**URL:** https://meta.discourse.org/t/cannot-put-the-template-in-the-desired-outlet/330650
**Category:** Development
**Created:** [October 13, 2024, 9:22am UTC](https://meta.discourse.org/t/cannot-put-the-template-in-the-desired-outlet/330650 "2024-10-13T09:22:58Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [October 13, 2024, 11:19am UTC](https://meta.discourse.org/t/cannot-put-the-template-in-the-desired-outlet/330650/6 "2024-10-13T11:19:15Z")

</div>

A few things to get you going again:

- this file has an missing closing round bracket at the end of your  
`apiInitializer` call - that will just not work.

On fixing that issue I see more errors.

- `banner_plugin_outlet` is not declared - you need a `const` here.

- You are missing imports:

- … but I couldn’t get themeSetting to work as a helper here. No error, just blank, so try this code instead:

- Always check the console for errors.

---

_[View the full topic](https://meta.discourse.org/t/cannot-put-the-template-in-the-desired-outlet/330650)._
