• Resolved thartl

    (@hartl)


    I don’t seem to be able to set List view as default.
    Neither default_view=”listWeek” in the shortcode nor “defaultView”: “listWeek” in json config work.
    Other attributes work as expected.
    Any ideas what I might be missing?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Are you using v4 or v5?

    This page is on a site that uses v4: https://www.phoenixuu.org/connect/calendar/
    Here’s the config:

    {
    “header”: {
    “left”: “prev,next today”,
    “center”: “title”,
    “right”: “listWeek,dayGridMonth”
    },
    “defaultView”: “listWeek”,
    “titleFormat”: {
    “month”: “long”,
    “year”: “numeric”,
    “day”: “numeric”
    },

    “eventTimeFormat”: {
    “hour”: “numeric”,
    “minute”: “2-digit”,
    “omitZeroMinute”: true,
    “meridiem”: “short”
    },
    “displayEventEnd”: false,
    “listDayFormat”: {
    “weekday”: “long”,
    “day”: “numeric”,
    “month”: “long”
    }
    }

    This page is on a dev site where I’m trying to get v5 configured correctly (you can see I’m a long way from success): https://new.phoenixuu.org/connect/calendar/
    Here’s the config:

    {
    “header”: {
    “left”: “prev,next today”,
    “center”: “title”,
    “right”: “dayGridMonth,timeGridWeek,listWeek”
    },
    “initialView”: “listWeek”
    }

    Thread Starter thartl

    (@hartl)

    Good point, @aezzell2020, list view is working as expected on v4, just not v5.

    Thread Starter thartl

    (@hartl)

    Ahh, it’s defaultView with v4 and initialView with v5. That solves it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘List view as default’ is closed to new replies.