# Custom Hamburger Menu Links

**URL:** <https://meta.discourse.org/t/custom-hamburger-menu-links/87644>\
**Category:** Theme component\
**Tags:** deprecated\
**Created:** [May 16, 2018, 2:15pm UTC](https://meta.discourse.org/t/custom-hamburger-menu-links/87644 "2018-05-16T14:15:15Z")\
**Posts on this page:** 1\
**Showing post:** 70

<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:** [November 8, 2022, 12:53am UTC](https://meta.discourse.org/t/custom-hamburger-menu-links/87644/70 "2022-11-08T00:53:56Z")

</div>

I took a look at Discourse’s sidebar code and @manuel [icons addition](https://meta.discourse.org/t/custom-hamburger-menu-links/87644/59).

It seems that currently, it’s not possible to customize the icon’s custom links because the hamburger menu decoration method doesn’t take into account the `prefixValue` constant (which contains the icon’s name) or something like that…

It also seems to me that hamburger-menu decorations with `api.decorateWidget` are going to be depreciated. See:  
[https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/lib/plugin-api.js#L534](https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/lib/plugin-api.js#L534)

Also, the fact that external links don’t work anymore could come from this:  
[https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/lib/plugin-api.js#L524](https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/lib/plugin-api.js#L524)

So that there should be some changes in core to make this available.

⚠ My knowledge of how Discourse works is almost non-existent so I could be very wrong.

Am I right about my findings?

---

_[View the full topic](https://meta.discourse.org/t/custom-hamburger-menu-links/87644)._
