Forum Discussion

princely-oclc's avatar
2 months ago
Solved

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...
  • MattV's avatar
    2 months ago

    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.