# Hoe de koppeling van een knop in het gebruikersmenu te wijzigen

**URL:** <https://meta.discourse.org/t/how-to-change-the-link-associated-with-a-button-in-the-user-menu-panel/181911>\
**Category:** Development\
**Created:** [3 maart 2021 om 20:09 UTC](https://meta.discourse.org/t/how-to-change-the-link-associated-with-a-button-in-the-user-menu-panel/181911 "2021-03-03T20:09:11Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![MrDavis97](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mrdavis97/32/206391_2.png) [@MrDavis97](https://meta.discourse.org/u/MrDavis97)\
**Post date:** [3 maart 2021 om 23:31 UTC](https://meta.discourse.org/t/how-to-change-the-link-associated-with-a-button-in-the-user-menu-panel/181911/3 "2021-03-03T23:31:12Z")

</div>

Thanks! Make sense, I think.  
One thing though, I’m putting this through `</head>` but getting the error: `SyntaxError: unknown: Unexpected token, expected "," (28:6)`

```
<script type="text/discourse-plugin" version="0.8">    
    api.reopenWidget("user-menu-links", {
      profileGlyph() {
        return {
          title: Titles["profile"],
          className: "user-preferences-link menu-link",
          id: QuickAccess.PROFILE,
          icon: "user",
          action: UserMenuAction.QUICK_ACCESS,
          actionParam: QuickAccess.PROFILE,
          data: { url: `${this.attrs.path}/activity` },
          role: "tab",
          tabAttrs: this._tabAttrs(QuickAccess.PROFILE),
        };
      },
    }
</script>

```

---

_[View the full topic](https://meta.discourse.org/t/how-to-change-the-link-associated-with-a-button-in-the-user-menu-panel/181911)._
