# Link zum Benutzerprofil in der Navigation hinzufügen

**URL:** https://meta.discourse.org/t/add-a-link-to-user-profile-in-the-navigation/297080
**Category:** Support
**Created:** [28. Februar 2024 um 14:06 UTC](https://meta.discourse.org/t/add-a-link-to-user-profile-in-the-navigation/297080 "2024-02-28T14:06:45Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Gonerdot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gonerdot/32/366307_2.png) [@Gonerdot](https://meta.discourse.org/u/Gonerdot)
#### Post date: [28. Februar 2024 um 14:06 UTC](https://meta.discourse.org/t/add-a-link-to-user-profile-in-the-navigation/297080/1 "2024-02-28T14:06:45Z")

</div>

Hallo! Wie kann ich einen Link zum Benutzerprofil in der oberen Navigation hinzufügen? Damit der Benutzer mit einem Klick dorthin gelangt und nicht erst über 3 Menüpunkte.

 ![image](https://global.discourse-cdn.com/meta/original/4X/a/a/6/aa6a1c54d0145ae7180a152d4a4abc3966f77aa3.png)

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [28. Februar 2024 um 14:09 UTC](https://meta.discourse.org/t/add-a-link-to-user-profile-in-the-navigation/297080/2 "2024-02-28T14:09:48Z")

</div>

Verwenden Sie diese Theme-Komponente

> [@Custom Header Links (icons)](https://meta.discourse.org/t/custom-header-links-icons/86307):
>
> discourse2Summary Custom Header Links (icons) will allow you to easily add linked icons to the Discourse header.eyeglassesPreview [Preview on Discourse Theme Creator](https://discourse.theme-creator.io/theme/Discourse/custom-header-links-icons)hammer_and_wrenchRepository Link [https://github.com/discourse/discourse-icon-header-links](https://github.com/discourse/discourse-icon-header-links)open_bookNew to Discourse Themes? [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) Install this theme component Features Screenshots Desktop Mobile Settings This component includes a …

mit dieser URL: `https://your-discourse-forum/my/summary`

---

<div class="post-metadata">

### Author: ![Gonerdot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gonerdot/32/366307_2.png) [@Gonerdot](https://meta.discourse.org/u/Gonerdot)
#### Post date: [28. Februar 2024 um 14:11 UTC](https://meta.discourse.org/t/add-a-link-to-user-profile-in-the-navigation/297080/4 "2024-02-28T14:11:09Z")

</div>

> [@Lilly](#):
>
> mit dieser URL: `https://your-discourse-forum/my/summary`

Danke. Ich habe es über dieses Plugin versucht, aber ich kannte nicht den richtigen Pfad zum Profil, ohne einen Spitznamen anzugeben.

---

<div class="post-metadata">

### Author: ![Gonerdot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gonerdot/32/366307_2.png) [@Gonerdot](https://meta.discourse.org/u/Gonerdot)
#### Post date: [28. Februar 2024 um 14:13 UTC](https://meta.discourse.org/t/add-a-link-to-user-profile-in-the-navigation/297080/6 "2024-02-28T14:13:14Z")

</div>

Gibt es eine Möglichkeit, diesen Link nur einem autorisierten Benutzer anzuzeigen?

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [28. Februar 2024 um 14:15 UTC](https://meta.discourse.org/t/add-a-link-to-user-profile-in-the-navigation/297080/7 "2024-02-28T14:15:38Z")

</div>

Verwenden Sie die Komponente [CSS Classes for Current User's Groups](https://meta.discourse.org/t/css-classes-for-current-users-groups/226068) und dann CSS, um nur für die Gruppe der angemeldeten Benutzer anzuzeigen.

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [28. Februar 2024 um 14:36 UTC](https://meta.discourse.org/t/add-a-link-to-user-profile-in-the-navigation/297080/8 "2024-02-28T14:36:11Z")

</div>

Wäre es möglich, es auch ohne diese Komponente für anonyme Benutzer auszublenden?

---

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [28. Februar 2024 um 14:42 UTC](https://meta.discourse.org/t/add-a-link-to-user-profile-in-the-navigation/297080/9 "2024-02-28T14:42:45Z")

</div>

Es gibt eine `anon`-Klassenbezeichnung, die dem `<html>`-Element zugeordnet ist, was möglich sein sollte.

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [28. Februar 2024 um 14:49 UTC](https://meta.discourse.org/t/add-a-link-to-user-profile-in-the-navigation/297080/10 "2024-02-28T14:49:55Z")

</div>

Sie haben Recht! Ich habe anon vergessen 🙂

```scss
.anon .whatever-that-icon-class-is {
    display: none;
}

```

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [29. März 2024 um 18:27 UTC](https://meta.discourse.org/t/add-a-link-to-user-profile-in-the-navigation/297080/12 "2024-03-29T18:27:32Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
