# Een plugin-uitgang bovenop de zijbalk

**URL:** https://meta.discourse.org/t/a-plugin-outlet-on-top-of-the-sidebar/285248
**Category:** Feature
**Tags:** completed
**Created:** [12 november 2023 om 11:28 UTC](https://meta.discourse.org/t/a-plugin-outlet-on-top-of-the-sidebar/285248 "2023-11-12T11:28:27Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![manuel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manuel/32/468169_2.png) [@manuel](https://meta.discourse.org/u/manuel)
#### Post date: [12 november 2023 om 11:28 UTC](https://meta.discourse.org/t/a-plugin-outlet-on-top-of-the-sidebar/285248/1 "2023-11-12T11:28:28Z")

</div>

There is a plugin outlet to add items to the sidebar footer. It would be great to have an outlet to add items to the top as well.

For example this is a common sidebar layout that could work well for some Discourse communities (showing a brand logo and background element right on the sidebar, as well as a search bar):

 ![image](https://global.discourse-cdn.com/meta/original/4X/1/6/b/16b0136e077d309e474eb079df39a6ef523736a6.png)

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [29 januari 2024 om 19:13 UTC](https://meta.discourse.org/t/a-plugin-outlet-on-top-of-the-sidebar/285248/11 "2024-01-29T19:13:12Z")

</div>

We don’t plan on adding additional outlets to the sidebar at the moment. We’re likely going to remove the footer outlet at some point as well.

The new sidebar nav was intentionally designed to be customized via the API so in the event that it changes in the future, we can more easily migrate to a new structure. The idea being that the navigation area isn’t something we want any random content injected into.

This isn’t to say the sidebar shouldn’t be customizable, but we want to expose more specific APIs rather than rely on open-ended plugin outlets.

---

<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: [27 februari 2024 om 18:47 UTC](https://meta.discourse.org/t/a-plugin-outlet-on-top-of-the-sidebar/285248/12 "2024-02-27T18:47:44Z")

</div>

Actually, I second this.

It would be useful to have one as you could use it when using Dropdown mode for the menu at which point the Sidebar div is pointless, so let us use it for something!

Moreover, it would be nice to have two, one on each side, each with its own!

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [27 februari 2024 om 18:52 UTC](https://meta.discourse.org/t/a-plugin-outlet-on-top-of-the-sidebar/285248/13 "2024-02-27T18:52:56Z")

</div>

Last week we discussed this some more internally and ended up where the consensus was that there’s no way around adding outlets at the moment — so now we have:

`before-sidebar-section` and `after-sidebar-sections` available as outlets

If the need is to add a custom section of links that mirrors the layout of existing link sections, the recommendation is to still use the API so we can maintain compatibility if the sidebar changes in the future. If this part of Discourse were to change again (no current plans) we can’t promise that the plugin outlets would neatly be migrated over like we can with an API.

---

<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: [27 februari 2024 om 18:55 UTC](https://meta.discourse.org/t/a-plugin-outlet-on-top-of-the-sidebar/285248/14 "2024-02-27T18:55:13Z")

</div>

thanks for putting that on the agenda.

meantime, I’ll see if I can find some other workaround

---

<div class="post-metadata">

### Author: ![Andrew\_Rowe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andrew_rowe/32/445877_2.png) [@Andrew\_Rowe](https://meta.discourse.org/u/Andrew_Rowe)
#### Post date: [4 februari 2025 om 03:43 UTC](https://meta.discourse.org/t/a-plugin-outlet-on-top-of-the-sidebar/285248/15 "2025-02-04T03:43:37Z")

</div>

> [@awesomerobot](#):
>
> before-sidebar-section

So there is an outlet before the existing sidebar so conceivably a developer could create a top level menu on top of the standard left sidebar menu. I guess I could check in outlets dev tool

---

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [4 februari 2025 om 20:07 UTC](https://meta.discourse.org/t/a-plugin-outlet-on-top-of-the-sidebar/285248/17 "2025-02-04T20:07:04Z")

</div>

Closing as #completed - please start new topics for any questions about this feature.
