# 右侧边栏区块

**URL:** https://meta.discourse.org/t/right-sidebar-blocks/231067
**Category:** Theme component
**Tags:** official, desktop, right-sidebar-blocks
**Created:** [2022年六月25日 02:55 UTC](https://meta.discourse.org/t/right-sidebar-blocks/231067 "2022-06-25T02:55:24Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![mouad\_belgoute](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mouad_belgoute/32/280210_2.png) [@mouad\_belgoute](https://meta.discourse.org/u/mouad_belgoute)
#### Post date: [2022年十一月3日 14:15 UTC](https://meta.discourse.org/t/right-sidebar-blocks/231067/28 "2022-11-03T14:15:10Z")

</div>

您好 @pmusaraj

感谢您提供这个组件，它确实很有趣。但是，我在尝试安装它时遇到了这个错误，您能帮忙看看吗？

 ![image](https://global.discourse-cdn.com/meta/original/4X/9/d/9/9d94d2adf5b798bcb8d71b76e497e148fffd637d.png)  
Discourse 版本：2.8.9  
再次感谢！

---

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [2022年十一月5日 21:56 UTC](https://meta.discourse.org/t/right-sidebar-blocks/231067/29 "2022-11-05T21:56:02Z")

</div>

> [@mouad\_belgoute](#):
>
> Discourse 版本：2.8.9

尝试更新您的站点。

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2022年十一月5日 21:58 UTC](https://meta.discourse.org/t/right-sidebar-blocks/231067/30 "2022-11-05T21:58:38Z")

</div>

我不确定此组件是否与 Stable 分支兼容？

---

<div class="post-metadata">

### Author: ![satonotdead](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/satonotdead/32/447830_2.png) [@satonotdead](https://meta.discourse.org/u/satonotdead)
#### Post date: [2022年十一月9日 18:21 UTC](https://meta.discourse.org/t/right-sidebar-blocks/231067/31 "2022-11-09T18:21:37Z")

</div>

感谢分享您的插件！对我们来说是必备的。

有什么简单的方法可以在移动设备上隐藏侧边栏吗？我尝试过用 CSS 但没有成功。

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [2022年十一月9日 18:24 UTC](https://meta.discourse.org/t/right-sidebar-blocks/231067/32 "2022-11-09T18:24:07Z")

</div>

此组件在移动设备上不显示任何内容。

---

<div class="post-metadata">

### Author: ![salbertelli](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/salbertelli/32/256625_2.png) [@salbertelli](https://meta.discourse.org/u/salbertelli)
#### Post date: [2022年十一月11日 21:17 UTC](https://meta.discourse.org/t/right-sidebar-blocks/231067/33 "2022-11-11T21:17:17Z")

</div>

感谢您提供的这个主题组件！但不幸的是，它在我这边无法正常工作。  
安装主题组件时，我收到了一系列“Translation YAML invalid”错误。

 ![image](https://global.discourse-cdn.com/meta/original/4X/0/7/d/07d9172b910b4ed3fe9bb7e320fa026ee5a07f58.png)

有没有办法在管理员界面中解决或覆盖这个问题？  
提前感谢！

---

<div class="post-metadata">

### Author: ![salbertelli](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/salbertelli/32/256625_2.png) [@salbertelli](https://meta.discourse.org/u/salbertelli)
#### Post date: [2022年十一月11日 21:27 UTC](https://meta.discourse.org/t/right-sidebar-blocks/231067/34 "2022-11-11T21:27:41Z")

</div>

您好！我在安装组件时也遇到了此错误。更新您的网站是否解决了此错误？先谢谢您了！

---

<div class="post-metadata">

### Author: ![salbertelli](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/salbertelli/32/256625_2.png) [@salbertelli](https://meta.discourse.org/u/salbertelli)
#### Post date: [2022年十一月28日 17:13 UTC](https://meta.discourse.org/t/right-sidebar-blocks/231067/35 "2022-11-28T17:13:02Z")

</div>

您好 @pmusaraj，

我也正在运行 Discourse ver. 2.8.9，在安装主题时遇到了“Translation YAML invalid”错误。您能确认问题是否与 Discourse 版本有关吗？

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2022年十一月30日 07:29 UTC](https://meta.discourse.org/t/right-sidebar-blocks/231067/36 "2022-11-30T07:29:39Z")

</div>

您好 @salbertelli 🙂

此主题组件与 Stable 分支不兼容。您需要切换到 tests-passed 版本，或者等到明年初的下一个 Stable 版本发布。👍

---

<div class="post-metadata">

### Author: ![falcon9](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falcon9/32/311948_2.png) [@falcon9](https://meta.discourse.org/u/falcon9)
#### Post date: [2022年十二月2日 15:49 UTC](https://meta.discourse.org/t/right-sidebar-blocks/231067/39 "2022-12-02T15:49:19Z")

</div>

这里有一个很棒的组件！

我想让右侧边栏保持 320 像素，并在比现在更宽的宽度处折叠边栏。我应该使用什么 CSS 来实现这一点？

我已经尝试了一些方法，但很难让它正常工作。

---

<div class="post-metadata">

### Author: ![salbertelli](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/salbertelli/32/256625_2.png) [@salbertelli](https://meta.discourse.org/u/salbertelli)
#### Post date: [2022年十二月7日 02:32 UTC](https://meta.discourse.org/t/right-sidebar-blocks/231067/40 "2022-12-07T02:32:11Z")

</div>

太棒了！非常感谢您的确认以及提供下一个稳定版本的预计到达时间。

---

<div class="post-metadata">

### Author: ![salbertelli](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/salbertelli/32/256625_2.png) [@salbertelli](https://meta.discourse.org/u/salbertelli)
#### Post date: [2023年一月10日 18:06 UTC](https://meta.discourse.org/t/right-sidebar-blocks/231067/41 "2023-01-10T18:06:33Z")

</div>

您好 @JammyDodger，  
新年快乐！

最近 Stable 版本已更新至 2.8.14。这是您提到的与右侧边栏块兼容的下一个 Stable 版本吗？

提前致谢

Sheila

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [2023年一月10日 18:33 UTC](https://meta.discourse.org/t/right-sidebar-blocks/231067/42 "2023-01-10T18:33:53Z")

</div>

不，此组件仅与下一个主要版本稳定版兼容，即稳定版 3.0.0 及更高版本。（好消息是，该版本即将发布，很可能就在几天之内。）

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2023年一月11日 08:46 UTC](https://meta.discourse.org/t/right-sidebar-blocks/231067/43 "2023-01-11T08:46:02Z")

</div>

它已抵达！ 🎉 🙂

> [@Discourse 3.0 is Here!](https://meta.discourse.org/t/discourse-3-0-is-here/251372/1):
>
> Today, we’re excited to announce the release of Discourse 3.0! We are bringing our customers and users some major new capabilities to enable communities to have thoughtful, purposeful discussions online. This new release includes [real-time chat](https://blog.discourse.org/2023/01/discourse-3-0-is-here/#chat-inside-discourse-discourse-inside-chat-%F0%9F%92%AC) and [user status](https://blog.discourse.org/2023/01/discourse-3-0-is-here/#share-your-current-status-with-the-community) to enable more informal communication, a [customizable sidebar](https://blog.discourse.org/2023/01/discourse-3-0-is-here/#easily-access-what-you-care-about-most-with-the-new-sidebar) for easier access to the things each user cares about most, and a [new notifications](https://blog.discourse.org/2023/01/discourse-3-0-is-here/#catch-up-whenever-you-want-with-the-new-notifications-menu) interface that makes it easier to decide what is important to follow up on, along with many o…

---

<div class="post-metadata">

### Author: ![salbertelli](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/salbertelli/32/256625_2.png) [@salbertelli](https://meta.discourse.org/u/salbertelli)
#### Post date: [2023年一月11日 20:31 UTC](https://meta.discourse.org/t/right-sidebar-blocks/231067/44 "2023-01-11T20:31:08Z")

</div>

太棒了！！非常感谢您的这次更新！！！

---

<div class="post-metadata">

### Author: ![salbertelli](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/salbertelli/32/256625_2.png) [@salbertelli](https://meta.discourse.org/u/salbertelli)
#### Post date: [2023年一月11日 20:31 UTC](https://meta.discourse.org/t/right-sidebar-blocks/231067/45 "2023-01-11T20:31:47Z")

</div>

太棒了！！！感谢 @JammyDodger 带来的消息！！！

---

<div class="post-metadata">

### Author: ![user12](https://avatars.discourse-cdn.com/v4/letter/u/e0b2c6/32.png) [@user12](https://meta.discourse.org/u/user12)
#### Post date: [2023年一月19日 20:41 UTC](https://meta.discourse.org/t/right-sidebar-blocks/231067/46 "2023-01-19T20:41:44Z")

</div>

是否有办法将侧边栏放在 RTL 网站的左侧？  
带有垂直菜单的右侧边栏也在右侧并不理想，主内容区域会太靠左。

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [2023年一月19日 20:46 UTC](https://meta.discourse.org/t/right-sidebar-blocks/231067/47 "2023-01-19T20:46:18Z")

</div>

我还没试过，但通过 CSS 翻转主栏和侧边栏的位置 _应该_ 可以在你的主题中实现。你能试试吗？目前，我们不打算为该组件添加专门的 RTL 支持。

---

<div class="post-metadata">

### Author: ![user12](https://avatars.discourse-cdn.com/v4/letter/u/e0b2c6/32.png) [@user12](https://meta.discourse.org/u/user12)
#### Post date: [2023年一月19日 20:58 UTC](https://meta.discourse.org/t/right-sidebar-blocks/231067/48 "2023-01-19T20:58:08Z")

</div>

我对 CSS 不是很熟悉，有什么可以让我入门的吗？

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [2023年一月19日 21:02 UTC](https://meta.discourse.org/t/right-sidebar-blocks/231067/49 "2023-01-19T21:02:41Z")

</div>

抱歉，我没有什么现成的。

[上一頁](https://meta.discourse.org/t/right-sidebar-blocks/231067.md?page=1)

[下一頁](https://meta.discourse.org/t/right-sidebar-blocks/231067.md?page=3)
