# ウィザードからホームページのスタイルを変更できません

**URL:** https://meta.discourse.org/t/cant-change-homepage-style-through-wizard/248354
**Category:** Bug
**Created:** [2022 年 12 月 9 日午前 5:42 UTC](https://meta.discourse.org/t/cant-change-homepage-style-through-wizard/248354 "2022-12-09T05:42:23Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Jack\_Sparrow](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jack_sparrow/32/244906_2.png) [@Jack\_Sparrow](https://meta.discourse.org/u/Jack_Sparrow)
#### Post date: [2022 年 12 月 9 日午前 5:42 UTC](https://meta.discourse.org/t/cant-change-homepage-style-through-wizard/248354/1 "2022-12-09T05:42:24Z")

</div>

[example.com/wizard](http://example.com/wizard) を訪問し、ステップ 3 で「さらに設定」をクリックしました。

 ![image](https://global.discourse-cdn.com/meta/original/4X/5/3/4/534a37f6abe62268938ba107cac5c30fff81fb80.png)

次のページで「注目のトピックがあるサブカテゴリ」を選択し、「次へ」をクリックしました。その後ウィザードを完了しましたが、ホームページは変更されませんでした。依然として「カテゴリのみ」です。

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

---

<div class="post-metadata">

### Author: ![Jack\_Sparrow](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jack_sparrow/32/244906_2.png) [@Jack\_Sparrow](https://meta.discourse.org/u/Jack_Sparrow)
#### Post date: [2022 年 12 月 9 日午前 7:30 UTC](https://meta.discourse.org/t/cant-change-homepage-style-through-wizard/248354/2 "2022-12-09T07:30:09Z")

</div>

設定の `desktop category page style` を変更して問題を修正しました。

 ![image](https://global.discourse-cdn.com/meta/original/4X/4/c/1/4c1b657cc91e4e435ac95b8379c372029b75e5ba.png)

これはウィザードから変更されないバグだと思います。ウィザードは、この投稿で推奨されています。

> [@Category homepage as default?](https://meta.discourse.org/t/category-homepage-as-default/78580):
>
> Yes, I also realized that showing the category page by default might provide better orientation for new users and changed my homepage. When read @HAWK’s statement, I’m wondering: if that is indeed a general “rule”, then wouldn’t it make sense to set the category page as default homepage for new forums? Disclaimer: I’m assuming that there is a default homepage. I don’t remember whether this is something you are asked to specific in the setup process, but even if it is, there’ d seem to be some…

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [2022 年 12 月 9 日午後 5:26 UTC](https://meta.discourse.org/t/cant-change-homepage-style-through-wizard/248354/3 "2022-12-09T17:26:13Z")

</div>

自分で試したところ、問題を確認できました。ウィザードを使用してホームページを `/latest` と `/categories` の間で正常に切り替えることはできますが、`/categories` のスタイルを変更しようとすると、同じままです。

---

<div class="post-metadata">

### Author: ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)
#### Post date: [2022 年 12 月 14 日午前 12:38 UTC](https://meta.discourse.org/t/cant-change-homepage-style-through-wizard/248354/6 "2022-12-14T00:38:58Z")

</div>

この問題を修正するためのPRを作成しました。

> <https://github.com/discourse/discourse/pull/19462>
>
> Depending on the current state of things, sometimes the homepage style
> wouldn't …update because we were incorrectly blocking updates the
> \`desktop\_category\_page\_style\` site setting if the first item in the top
> menu was 'categories'.
> 
> Added a test case to handle this situation.
> 
> See https://meta.discourse.org/t/248354

---

<div class="post-metadata">

### Author: ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)
#### Post date: [2022 年 12 月 17 日午後 3:00 UTC](https://meta.discourse.org/t/cant-change-homepage-style-through-wizard/248354/7 "2022-12-17T15:00:49Z")

</div>

このトピックは3日後に自動的に閉じられました。新しい返信はもう許可されていません。
