# 사이드바 메뉴에서 '커뮤니티' 항목을 수정하거나 비활성화

**URL:** https://meta.discourse.org/t/edit-or-disable-community-in-sidebar-menu/257283
**Category:** Support
**Tags:** sidebar
**Created:** [3월 6, 2023, 6:16오후 UTC](https://meta.discourse.org/t/edit-or-disable-community-in-sidebar-menu/257283 "2023-03-06T18:16:05Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![MorganCarey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/morgancarey/32/297991_2.png) [@MorganCarey](https://meta.discourse.org/u/MorganCarey)
#### Post date: [3월 6, 2023, 6:16오후 UTC](https://meta.discourse.org/t/edit-or-disable-community-in-sidebar-menu/257283/1 "2023-03-06T18:16:05Z")

</div>

이미 검색을 시도해 봤는데 (너무 방대해서요!) 끔찍하네요!

새로운 사이드바에서 “커뮤니티” 드롭다운에 표시되는 항목(모두, 내 게시글 등)을 편집하거나 비활성화하는 방법이 있을까요?

거기에 있는 모든 항목을 원하지는 않아요. 배지나 FAQ 링크 같은 것들을 편집할 수 있는 간단한 버튼/UI가 있기를 바랐습니다.

 ![Screen Shot 2023-03-06 at 10.16.31 AM](https://global.discourse-cdn.com/meta/original/4X/0/0/a/00ad6ff08aaa258ed13d2bbe796e775feca863e3.png)

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [3월 6, 2023, 8:03오후 UTC](https://meta.discourse.org/t/edit-or-disable-community-in-sidebar-menu/257283/2 "2023-03-06T20:03:42Z")

</div>

#Customization > Theme component Hide Sidebar 게시글에는 커뮤니티만 숨기는 코드가 있습니다.

출발점이 될 수 있을 것 같습니다.

> [@Hide sidebar from anon users](https://meta.discourse.org/t/hide-sidebar-from-anon-users/250351/3?u=heliosurge):
>
> That is pretty straightforward with a bit of CSS targetting .anon: .anon div.sidebar-section-community { display: none; } If I get the chance I’ll roll that functionality into this TC.

맨 위로 스크롤하면 동일한 코드로 돌아가는 링크도 있습니다.

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [3월 8, 2023, 4:04오전 UTC](https://meta.discourse.org/t/edit-or-disable-community-in-sidebar-menu/257283/3 "2023-03-08T04:04:26Z")

</div>

> [@MorganCarey](#):
>
> 거기에 있는 모든 항목을 정말로 넣고 싶은 것은 아니며, 그것들을 편집할 수 있는 간단한 버튼/UI(예: 배지나 FAQ 링크 등)가 있으면 좋겠다고 생각했습니다.

아쉽게도 현재는 그런 기능이 없습니다.

하지만 @team이 이 문제를 해결하고 있습니다:

> [@메타에서 테스트 중인 사용자 지정 사이드바 섹션](https://meta.discourse.org/t/custom-sidebar-sections-being-tested-on-meta/255303):
>
> 최근 메타에서 사이드바의 커스터마이징 수준을 확장하기로 결정했습니다. 이제 enable custom sidebar sections 설정을 사용하여 링크가 포함된 자체 사이드바 섹션을 만들 수 있습니다. 작동 방식 양식을 표시하려면 사이드바 하단의 플러스 버튼을 클릭해야 합니다. 섹션의 제목과 적어도 하나의 유효한 링크를 제공해야 합니다. 유효한 링크는 아이콘, 이름, 그리고 Discourse 포럼 내의 올바른 URL(절대 경로 및 상대 경로 URL 모두 허용됨)을 포함합니다. 예를 들어: 양식을 제출하면 새로운 섹션은 다음과 같이 표시됩니다: 향후 계획 사이트 관리자는 모든 포럼 회원에게 표시되는 전역 섹션을 생성할 수 있게 됩니다. 피드백을 기다리고 있습니다 slight_smile

이 기능이 더 널리 사용 가능해질 때까지, CSS를 사용하여 커뮤니티 섹션의 일부 또는 전체를 숨기는 것(관리자에게는 비교적 간단합니다) 또는 여기서 기록된 약간 더 복잡하고 해킹적인 방법들을 시도해야 합니다:

> [@사이드바에 사용자 지정 링크 섹션을 추가하는 기능](https://meta.discourse.org/t/ability-to-add-a-custom-section-of-links-to-the-sidebar/239778):
>
> 사용자가 사이드바에 커스텀 링크 섹션을 추가할 수 있도록 허용하고자 합니다. 이 기능의 첫 번째 단계로, 기존 [사이드바 설정 페이지](https://meta.discourse.org/my/preferences/sidebar)를 기반으로 하여 사용자가 이러한 링크를 위한 단일 커스텀 섹션을 추가할 수 있도록 할 계획입니다. 다음과 같이 작동할 수 있다고 생각합니다: “커스텀 섹션 표시” 체크박스. 체크하면 커스텀 섹션이 카테고리 섹션 위에 나타나며, "변경 사항 저장"을 하려면 유효한 이름과 최소 한 개의 유효한 링크가 필요합니다. 커스텀 섹션 이름 입력 텍스트 상자 (기본값: My Links, 빈 값 불가) “링크 추가” 버튼. 클릭 시 링크 추가를 위한 대화상자가 표시됩니다. 추가된 링크에는 해당 링크를 제거하는 버튼이 표시됩니다. 링크 추가 대화상자 링크 추가 대화상자에는 이름, URL 두 개의 텍스트 상자가 있습니다. 이름은 빈 값이 될 수 없으며, 이모지 포함 가능 (사이드바에 렌더링되어야 함) URL은 동일한 Discourse 사이트 내 링크여야 합니…

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [3월 8, 2023, 12:05오후 UTC](https://meta.discourse.org/t/edit-or-disable-community-in-sidebar-menu/257283/4 "2023-03-08T12:05:16Z")

</div>

@Heliosurge와 @nathank 님이 여기서 거의 모든 것을 말씀해 주셨습니다 🙂

그래도 조금 더 보태자면, 요소를 **숨기고** 싶다면 CSS를 사용할 수 있습니다.

이러한 수정을 시작하기에 훌륭한 자료입니다: [Making custom CSS changes on your site](https://meta.discourse.org/t/make-css-changes-on-your-site/168101?u=canapin)

요약하자면, 브라우저 개발 도구를 사용하여 숨기고 싶은 HTML 요소를 찾은 후, 해당 요소에 `display: none;` CSS 규칙을 적용하면 됩니다.

일부 요소의 순서를 바꾸고 싶다면 이 또한 CSS로 가능합니다. 약간 더 고급스러운 작업이며, 어떤 요소를 어떤 순서로 재배열하고 싶은지에 따라 달라집니다.

여기 예시를 하나 드리겠습니다:

> [@Custom Hamburger Menu Links](https://meta.discourse.org/t/custom-hamburger-menu-links/87644/87?u=canapin):
>
> You can use this CSS: #sidebar-section-content-categories, #sidebar-section-content-tags { display: flex; flex-direction: column; li:last-child { order: -1; } }slight_smile

---

<div class="post-metadata">

### Author: ![Kushalghosh9899](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kushalghosh9899/32/292844_2.png) [@Kushalghosh9899](https://meta.discourse.org/u/Kushalghosh9899)
#### Post date: [3월 14, 2023, 8:25오전 UTC](https://meta.discourse.org/t/edit-or-disable-community-in-sidebar-menu/257283/5 "2023-03-14T08:25:19Z")

</div>

사이드바 메뉴에 요소나 페이지를 추가하거나, 사용자 정의 페이지와 같은 항목을 더 넣고 싶다면 어떻게 해야 할까요?

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [3월 15, 2023, 2:35오전 UTC](https://meta.discourse.org/t/edit-or-disable-community-in-sidebar-menu/257283/6 "2023-03-15T02:35:51Z")

</div>

현재로서는 이 코드(또는 그 아래 게시글)를 기반으로 테마에 이 코드를 추가하는 것(또는 직접 테마 컴포넌트를 만드는 것)이 최선의 방법입니다:

> [@사이드바에 사용자 지정 링크 섹션을 추가하는 기능](https://meta.discourse.org/t/ability-to-add-a-custom-section-of-links-to-the-sidebar/239778/14):
>
> Here’s another example that I hope will be helpful to someone, based heavily off the above examples. This code doesn’t add an entirely new section, but instead adds additional links to the bottom of the “More” panel in the Community section (but before the FAQ and About links in the footer). It supports FontAwesome icons (assuming they’re added in the site settings) and external links. It handles edge cases where the sidebar is closed and re-opened, and/or the Community section is collapsed and …

[Hamburger Links TC](https://meta.discourse.org/t/custom-hamburger-menu-links/87644/87)를 기반으로 이를 자체 설정 가능한 테마 컴포넌트로 패키징해 보았지만, 목록에서 변수를 코드로 가져오는 부분에서 막혔습니다. 저보다 더 재치 있는 누군가는 몇 분 만에 해낼 수 있을 거라고 확신합니다!

---

<div class="post-metadata">

### Author: ![MorganCarey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/morgancarey/32/297991_2.png) [@MorganCarey](https://meta.discourse.org/u/MorganCarey)
#### Post date: [3월 15, 2023, 3:15오전 UTC](https://meta.discourse.org/t/edit-or-disable-community-in-sidebar-menu/257283/7 "2023-03-15T03:15:33Z")

</div>

> [@nathankershaw](#):
>
> 현재로서는 이 코드(또는 그 아래에 있는 게시물)를 기반으로 Theme에 이 코드를 추가하거나(또는 자체 Theme Component를 만들거나)하는 것이 가장 좋은 방법입니다:
> 
> > [@](#):
> >
> > 위 예시들을 크게 참고하여 만든 또 다른 예시를 하나 소개합니다. 누군가에게 도움이 되기를 바랍니다. 이 코드는 완전히 새로운 섹션을 추가하는 것이 아니라, 커뮤니티 섹션의 “더 보기(More)” 패널 하단에 추가 링크를 추가합니다(하지만 푸터의 FAQ 및 정보(About) 링크 앞입니다). FontAwesome 아이콘(사이트 설정에 추가된 경우를 전제로 함)과 외부 링크를 지원합니다. 사이드바가 닫혔다가 다시 열리거나, 커뮤니티 섹션이 접혔다가 … 하는 경계 상황을 처리합니다.
> 
> 이 코드를 [Hamburger Links TC](https://meta.discourse.org/t/custom-hamburger-menu-links/87644/87)를 기반으로 자체 설정 가능한 Theme Component로 패키징해 보려고 시도했지만, 리스트에서 변수를 코드로 가져오는 부분에서 막혔습니다. 저보다 더 똑똑한 누군가는 몇 분 만에 해낼 수 있을 거라고 확신합니다!

네이선, 감사합니다. 이번 주말에 이것을 가지고 좀 놀아볼 생각입니다 - P.S., 우리가 공식 출시되었습니다! [Real Estate Webmasters Forum / REW Community - For Top Agents, Teams & Brokers](https://www.realestatewebmasters.com/forums/) (새로운 업그레이드를 하게 되어 설렙니다)

새로운 기능에 대해 이야기하는 “무엇이 새로웠나요(what’s new)” 스레드가 어딘가에 있나요? 부끄럽지만 우리는 꽤나 오래된 버전을 사용하고 있었습니다. 제 레이더에 잡히지 않는 멋진 새로운 기능들을 놓치고 있지는 않은지 확인하고 싶습니다.

도와주셔서 감사합니다, 친구!

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [3월 15, 2023, 4:05오전 UTC](https://meta.discourse.org/t/edit-or-disable-community-in-sidebar-menu/257283/8 "2023-03-15T04:05:37Z")

</div>

축하드립니다! Discourse와 함께하시는 여정이 깊이 있는 보람으로 가득하길 바랍니다. 여러분의 사이트가 정말 멋집니다.

주요 기능이 출시될 때마다 최신 정보를 놓치지 않도록 #release-notes 채널을 확인하거나 시청해 보시는 것을 추천합니다.

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [3월 18, 2023, 4:48오후 UTC](https://meta.discourse.org/t/edit-or-disable-community-in-sidebar-menu/257283/9 "2023-03-18T16:48:46Z")

</div>

> [@MorganCarey](#):
>
> 도와주셔서 감사합니다, 친구!

지금 업데이트를 수행하면, 원할 경우 스크립트를 삽입하지 않고도 모든 사용자에게 표시되는 새로운 사용자 지정 섹션을 추가할 수 있습니다:

> [@메타에서 테스트 중인 사용자 지정 사이드바 섹션](https://meta.discourse.org/t/custom-sidebar-sections-being-tested-on-meta/255303/41):
>
> I note that this is live (but experimental of course)! Brilliant! The OP could be updated to note this. Also, it might be worth stating that it has the nice little globe only for [@staff](https://meta.discourse.org/groups/staff): [image] I discovered that only after I’d managed to hide it with CSS thinking that it would look silly for our regular users!

외부 링크에는 작동하지만, `my` 링크(예: [/my/preferences/profile](https://meta.discourse.org/my/preferences/profile))에는 작동하지 않습니다.
