Can't disable the category calendar once it is enabled

AI-generated summary

Issue with Disabling Category Calendar: tkforbes is experiencing a problem where the category calendar remains visible even after removing the [calendar][/calendar] block from the About topic and deleting the calendar categories entry from Discourse Calendar settings. To reproduce the issue, follow these steps:

  1. Set up the calendar-and-events plugin
  2. Configure the category view to display the calendar at the top
  3. Create events for the category
  4. Attempt to disable the calendar view for the category. sam has acknowledged the issue and added it to the list for investigation, noting that the calendar feature has been recently refined.

I’ve got a category that displays the calendar at the head of the category view. I’ve now decided that my community should just use the “Upcoming events” view which displays a consolidated view of events across several categories.

When a member wants to view a specific category, I want them to see the events/topics without having to scroll below a calendar, so I removed the

[calendar][/calendar]

block from the About topic for the category. And I removed the calendar categories entry from Discourse Calendar settings.

Even after these actions, the calendar continues to show in the category view.

Reproduce

I stumbled across the bug in trying to remove the calendar having enabled the feature first. So I guess the steps for reproduction are:

  1. Setup calendar-and-events.
  2. Setup the category view such that the calendar is displayed at the head of the view.
  3. Create some events for the category.
  4. Disable the calendar view for the category.
1 Like

We added this to our list to investigate we have been refining calendar recently.

2 Likes