# Add admin setting to change default Calendar view (Month / Week / Year)

**URL:** https://meta.discourse.org/t/add-admin-setting-to-change-default-calendar-view-month-week-year/387389
**Category:** Feature
**Tags:** events, completed
**Created:** [2 בנובמבר,‏ 2025,‏ 9:58am UTC](https://meta.discourse.org/t/add-admin-setting-to-change-default-calendar-view-month-week-year/387389 "2025-11-02T09:58:08Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [2 בנובמבר,‏ 2025,‏ 9:58am UTC](https://meta.discourse.org/t/add-admin-setting-to-change-default-calendar-view-month-week-year/387389/1 "2025-11-02T09:58:08Z")

</div>

Hi there 👋

For sites that rely heavily on the Upcoming Events page, many community members prefer a weekly view by default. Currently, `/upcoming-events` always loads the Month view first, even if a user prefers Week (or Day, Year).

* * *

### Feature request

Add a simple admin site setting to configure which view `/upcoming-events` loads by default:

```plaintext
upcoming events default view:
  - /upcoming-events/month (current default)
  - /upcoming-events/week
  - /upcoming-events/year

```

### Why this matters

- Weekly view is more practical for teaching timetables, shift patterns, and events-dense communities
- Reduces repeated switching every time users visit the page
- Improves UX parity with mobile calendar apps that default to Week view

* * *

### Current workaround

Admins can force redirect to `/upcoming-events/week` (prior to `upcoming-events/week/2025/10/27`) with a Theme Component, but that:

- is hacky
- applies to everyone globally (hard to scope)
- doesn’t give true admin UX control

* * *

Thank you! This would be a small change with a big usability improvement for event-focused communities 🙌

---

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [6 בנובמבר,‏ 2025,‏ 6:51am UTC](https://meta.discourse.org/t/add-admin-setting-to-change-default-calendar-view-month-week-year/387389/2 "2025-11-06T06:51:43Z")

</div>

this is to hard code the default to Week, rather than Month. It’s simple, but not yet a site-setting - it lays the foundation for the more acceptable improvement

[https://github.com/discourse/discourse/pull/35861](https://github.com/discourse/discourse/pull/35861)

---

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [6 בנובמבר,‏ 2025,‏ 7:16am UTC](https://meta.discourse.org/t/add-admin-setting-to-change-default-calendar-view-month-week-year/387389/3 "2025-11-06T07:16:13Z")

</div>

> [@Ethsim2](#):
>
> more acceptable improvement

Why not just an `app.yml` var?

Ember code doesn’t read arbitrary env vars. Discourse only exposes declared site settings (config/settings.yml, client: true) to the client. That’s why you either:

- add the setting in core (then set via app.yml), or
- avoid settings and use a theme component redirect.

---

<div class="post-metadata">

### Author: ![manuel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manuel/32/468169_2.png) [@manuel](https://meta.discourse.org/u/manuel)
#### Post date: [8 בנובמבר,‏ 2025,‏ 1:18pm UTC](https://meta.discourse.org/t/add-admin-setting-to-change-default-calendar-view-month-week-year/387389/5 "2025-11-08T13:18:11Z")

</div>

How about rather resolving generic urls, so you could use a custom link on the sidebar?

Right now these wouldn’t work:

```plaintext
/upcoming-events/day 
/upcoming-events/week 
/upcoming-events/month
/upcoming-events/year

```

---

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [8 בנובמבר,‏ 2025,‏ 1:52pm UTC](https://meta.discourse.org/t/add-admin-setting-to-change-default-calendar-view-month-week-year/387389/6 "2025-11-08T13:52:08Z")

</div>

> [@manuel](#):
>
> you could use a custom link on the sidebar?

i’m “used to” upcoming events button that can’t be configured on the sidebar.

Furthermore, an admin setting could set the default of a user preference. Rather than all users being forced to set-up their own sidebar button/section, or accept a global section.

I hope i have changed the correct code in my PR, that we simply need to toggle what i changed based on a setting?…

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [12 בנובמבר,‏ 2025,‏ 12:29pm UTC](https://meta.discourse.org/t/add-admin-setting-to-change-default-calendar-view-month-week-year/387389/8 "2025-11-12T12:29:10Z")

</div>

@yuriy can you add a site setting for this please? Should be easy.

---

<div class="post-metadata">

### Author: ![yuriy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yuriy/32/498097_2.png) [@yuriy](https://meta.discourse.org/u/yuriy)
#### Post date: [13 בנובמבר,‏ 2025,‏ 12:15pm UTC](https://meta.discourse.org/t/add-admin-setting-to-change-default-calendar-view-month-week-year/387389/10 "2025-11-13T12:15:52Z")

</div>

> [@Ethsim2](#):
>
> I hope i have changed the correct code in my PR

@Ethsim2, you actually did 😃

The new setting _Calendar upcoming events default view_ is available now. The changes were implemented in:

[https://github.com/discourse/discourse/pull/36014](https://github.com/discourse/discourse/pull/36014)

---

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [14 בינואר,‏ 2026,‏ 4:49pm UTC](https://meta.discourse.org/t/add-admin-setting-to-change-default-calendar-view-month-week-year/387389/11 "2026-01-14T16:49:37Z")

</div>

Thanks again for getting this landed - the admin default view setting is a big UX win 👍

Now that this exists, it might be worth considering a small follow-up enhancement: allowing users to optionally override the site default with a personal preference, while keeping the admin setting as the fallback.

That would give sites a strong default identity (Week vs Month), but still let individuals choose what works best for them - similar to how most calendar apps behave. A simple precedence like

explicit URL → user preference → site default

would keep behaviour predictable and backwards-compatible.

Not suggesting this replaces the current setting - just a possible next step if you think it fits the broader UX direction.

---

<div class="post-metadata">

### Author: ![lindsey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lindsey/32/318210_2.png) [@lindsey](https://meta.discourse.org/u/lindsey)
#### Post date: [28 באפריל,‏ 2026,‏ 6:50pm UTC](https://meta.discourse.org/t/add-admin-setting-to-change-default-calendar-view-month-week-year/387389/12 "2026-04-28T18:50:46Z")

</div>

Since the original request is complete, I’m going to close this topic.

@Ethsim2 if you would like to continue looking into that follow up request, I can move that into a new #Contribute > Feature topic — just let me know!

---

<div class="post-metadata">

### Author: ![lindsey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lindsey/32/318210_2.png) [@lindsey](https://meta.discourse.org/u/lindsey)
#### Post date: [1 במאי,‏ 2026,‏ 12:00pm UTC](https://meta.discourse.org/t/add-admin-setting-to-change-default-calendar-view-month-week-year/387389/14 "2026-05-01T12:00:22Z")

</div>

This topic was automatically closed after 2 days. New replies are no longer allowed.
