Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE: Show category/sub-category events on calendar category header (add eventsFromCategory parameter in categorySetting of admin plugin settings) #198

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ledadu
Copy link

@ledadu ledadu commented Dec 18, 2021

Add eventsFromCategory feature from categorySetting

Commit : f786cc1
This add parameter to 'categorySetting' in /admin/site_settings/category/all_results?filter=plugin%3Adiscourse-calendar
example : categoryId=4;eventsFromCategory=4
This parameter add a calendar to the top of the 'categoryId' page, and fetch all events in the 'eventsFromCategory' category and sub category

image
image
Events is in topics of the category and sub-caegory.
(In future, maybe the option 'eventsFromCategory' can take an array of categoryID, and an option to not use sub-categories)

@ledadu ledadu changed the title FEATURE:Add eventsFromCategory feature from categorySetting FEATURE: Specifify category to calendar in catgegory header (add eventsFromCategory parameter in categorySetting of admin plugin settings) Dec 19, 2021
@ledadu ledadu changed the title FEATURE: Specifify category to calendar in catgegory header (add eventsFromCategory parameter in categorySetting of admin plugin settings) FEATURE: Show category/sub-category events on calendar category header (add eventsFromCategory parameter in categorySetting of admin plugin settings) Dec 19, 2021
@ledadu
Copy link
Author

ledadu commented Jan 19, 2022

@lis2
Hello.

@jjaffeux
Copy link
Contributor

jjaffeux commented Feb 15, 2022

I will start reviewing this next week.

@ledadu
Copy link
Author

ledadu commented Feb 15, 2022

I will start reviewing this next week.

Great! thank you. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants