# 設定のアカウントタブへの追加

**URL:** https://meta.discourse.org/t/appending-to-preferences-account-tab/79337
**Category:** Development
**Created:** [2018 年 1 月 30 日午前 3:26 UTC](https://meta.discourse.org/t/appending-to-preferences-account-tab/79337 "2018-01-30T03:26:16Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![samnazarko](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/samnazarko/32/109010_2.png) [@samnazarko](https://meta.discourse.org/u/samnazarko)
#### Post date: [2018 年 1 月 30 日午前 3:26 UTC](https://meta.discourse.org/t/appending-to-preferences-account-tab/79337/1 "2018-01-30T03:26:16Z")

</div>

Hello,

I’ve started to use SSO for my forum. I’d like to add some links to the Account tab under Preferences so that I can tell users that they can manage further settings re. their account on the SSO dashboard.

I can see how to do this, but it involves overwriting one of the templates, which will mean that I will need to maintain Discourse downstream. Is there a plugin approach to push a div on to this section trivially?

```plaintext
diff --git a/app/assets/javascripts/discourse/templates/preferences/account.hbs b/app/assets/javascripts/discourse/templates/preferences/account.hbs
index 239c8d0..ca21e45 100644
--- a/app/assets/javascripts/discourse/templates/preferences/account.hbs
+++ b/app/assets/javascripts/discourse/templates/preferences/account.hbs
@@ -99,6 +99,10 @@
   </div>
 </div>
 
+<div>
+<h2>Your Account</h2>
+<p>To manage your account further, see...</p>
+</div>
 
 {{#if model.canDeleteAccount}}
   <div class="control-group delete-account">

```

I do apologise if this has been covered before

Cheers

Sam

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [2018 年 1 月 30 日午前 6:25 UTC](https://meta.discourse.org/t/appending-to-preferences-account-tab/79337/2 "2018-01-30T06:25:27Z")

</div>

You can override templates using a theme. You can find the example [here](https://github.com/SamSaffron/discourse-simple-theme/blob/master/desktop/header.html#L1).

---

<div class="post-metadata">

### Author: ![samnazarko](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/samnazarko/32/109010_2.png) [@samnazarko](https://meta.discourse.org/u/samnazarko)
#### Post date: [2018 年 2 月 3 日午後 6:36 UTC](https://meta.discourse.org/t/appending-to-preferences-account-tab/79337/3 "2018-02-03T18:36:40Z")

</div>

Thank you for the tip
