# Sidebar link / top button to PM admin

**URL:** https://meta.discourse.org/t/sidebar-link-top-button-to-pm-admin/251645
**Category:** Support
**Tags:** sidebar
**Created:** [January 13, 2023, 5:17am UTC](https://meta.discourse.org/t/sidebar-link-top-button-to-pm-admin/251645 "2023-01-13T05:17:19Z")
**Posts on this page:** 4
**Page:** 1

<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: [January 13, 2023, 5:17am UTC](https://meta.discourse.org/t/sidebar-link-top-button-to-pm-admin/251645/1 "2023-01-13T05:17:20Z")

</div>

Hi there, I need to add a prominent link to the sidebar and/or a button in the top menu to send a private message to the administrator. Or if it’s any easier I could settle for linking to the `/g/admins/` page.

In general, it appears that the sidebar is still not customizable beyond setting default categories and tags? Is this topic still current?

> [@Ability to add a custom section of links to the sidebar](https://meta.discourse.org/t/ability-to-add-a-custom-section-of-links-to-the-sidebar/239778):
>
> We want to allow users to add a custom section of links to their sidebar. In a first pass for this feature, we plan to build upon the existing [sidebar preferences page](https://meta.discourse.org/my/preferences/sidebar), and allow a user to add a single custom section for these links. We think it can work something like this: checkbox for “Show Custom Section”. If checked Custom Section appears above Categories Section and values must have valid Name and at least one valid Link to “Save Changes” textbox for Name of the custom section (defaul…

So if the sidebar isn’t feasible I might have to settle for a top header bar button, like the ❤ button that gets added deep into this tutorial:

> [@Developing Discourse Themes & Theme Components](https://meta.discourse.org/t/beginners-guide-to-developing-discourse-themes/93648):
>
> Discourse Themes and Theme Components can be used to customize the look, feel and functionality of Discourse’s frontend. This section of the developer guides aims to provide all the reference materials you need to develop simple themes for a single site, right up to complex open-source theme components. This introduction aims to provide a map of all the tools and APIs for theme development. If you prefer a step-by-step tutorial for theme development, jump straight to: Themes vs. Theme Compon…

But ideally I"d like to pre-fill the recipient too, not sure how to do that.

---

<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: [January 13, 2023, 5:50am UTC](https://meta.discourse.org/t/sidebar-link-top-button-to-pm-admin/251645/2 "2023-01-13T05:50:38Z")

</div>

If you want to add the link somewhere else, there are also #Customization > Theme component to do that. For example  
[Custom Header Links](https://meta.discourse.org/t/custom-header-links/90588)  
[Custom Top Navigation Links](https://meta.discourse.org/t/custom-top-navigation-links/87225)

> [@rahim123](#):
>
> But ideally I"d like to pre-fill the recipient too

> [@Creating pre-filled personal message links](https://meta.discourse.org/t/create-a-link-to-start-a-new-personal-message-with-pre-filled-information/35984):
>
> bookmark This guide describes how to create a link to start a new personal message with pre-filled information, including best practices. person_raising_hand Required user level: All users Discourse allows you to compose a new personal message with pre-filled information via URL parameters. This can save time and ensure consistency for common messages. Structure of the URL To create a new pre-filled message, format your URL like this: https://discourse.example.com/new-message?username…

---

<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: [January 13, 2023, 5:56am UTC](https://meta.discourse.org/t/sidebar-link-top-button-to-pm-admin/251645/3 "2023-01-13T05:56:40Z")

</div>

Thank you very much! I swear I searched extensively and I didn’t find that method to pre-fill a PM with a URL, exactly what I was looking for. 👍 And those theme components look like they’ll save me a bunch of time too.

So it looks like the sidebar is definitely not an option, at least not yet?

---

<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: [February 12, 2023, 5:57am UTC](https://meta.discourse.org/t/sidebar-link-top-button-to-pm-admin/251645/4 "2023-02-12T05:57:03Z")

</div>

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