Classic - Event Board Page force List View
Hi,
Is there a way to configure a particular event board to always default to List View? Ideally, this would be via:
- Query Parameter loading the page.
- Quilt component parameter for the viewToggle or occasionsListView component.
Context: The event board is part of an Annual conference that happens in the future. So, this month's events are empty for most of the year. Registered users have the option to select List or Calendar View using the viewToggle component. This setting is preserved. For this event board, the Calendar View will show as empty.
Any ideas? Thanks in advance!
Mark
Alright, after some sleuthing, looks like it might be a user setting of sorts.
occasion.current_view_for_user
Maybe you can use freemarker to check and set that setting for the user in common.init. For anonymous users, it seems to also use a cookie lia.anon.occasion.current_view_for_user.
The valid values for the setting are: list or calendar
Hopefully that gets you going in the right direction.