# 在侧边栏添加自定义链接部分的功能

**URL:** <https://meta.discourse.org/t/ability-to-add-a-custom-section-of-links-to-the-sidebar/239778>\
**Category:** Feature\
**Tags:** sidebar, completed\
**Created:** [2022年九月22日 16:46 UTC](https://meta.discourse.org/t/ability-to-add-a-custom-section-of-links-to-the-sidebar/239778 "2022-09-22T16:46:26Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![rahim123](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rahim123](https://meta.discourse.org/u/rahim123)\
**Post date:** [2023年一月13日 22:55 UTC](https://meta.discourse.org/t/ability-to-add-a-custom-section-of-links-to-the-sidebar/239778/13 "2023-01-13T22:55:10Z")

</div>

感谢您考虑这一点，我认为这对我的论坛用户来说是一个非常重要的功能。用户通常很难发现即使是稍微隐藏的信息，我需要添加一些醒目的链接，例如“联系管理员”和“论坛规则”。我不在乎它们是否直接放在“社区”标题下，但它们绝对不会在“更多”菜单下被发现。此外，能够拥有内部和外部链接的灵活性也很重要，外部链接在自定义汉堡菜单中目前是无效的：

> [@Custom Hamburger Menu Links](https://meta.discourse.org/t/custom-hamburger-menu-links/87644/70?u=rahim123):
>
> 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: Also, the fact that external links don’t work anymore could come from this: So th…

---

_[View the full topic](https://meta.discourse.org/t/ability-to-add-a-custom-section-of-links-to-the-sidebar/239778)._
