MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Calendar Ext2 positionOrder

    Scheduled Pinned Locked Moved Solved Troubleshooting
    9 Posts 2 Posters 1.5k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      harmZj @MMRIZE
      last edited by

      @mmrize ok so I’ll revert to where it says positionOrder -1, but then you’re saying I set positionOrder where ? In the config.js file?

      M 1 Reply Last reply Reply Quote 0
      • M Offline
        MMRIZE @harmZj
        last edited by

        @harmzj
        I am going on driving in a minute. So cannot reply detailly. If you don’t mind I’ll show you the example in 1-2 hours. Anyway, it will be better to show your current config.js MMM-CalendarExt2 parts here.

        H 1 Reply Last reply Reply Quote 0
        • H Offline
          harmZj @MMRIZE
          last edited by

          @mmrize sure thing. I will post in a few hours. Thanks :)

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            MMRIZE @harmZj
            last edited by

            @harmzj
            sample1.png

            I believe this is similar to what you want.

            {
              module: "MMM-CalendarExt2",
              config: {
                calendars: [
                  {
                    name: "Tottenham",
                    url: "https://www.google.com/calendar/ical/ovb564thnod82u5c4njut98728%40group.calendar.google.com/public/basic.ics",
                    icon: "emojione:chicken"
                  },
                  {
                    name: "Leeds",
                    url: "https://www.google.com/calendar/ical/h2suh4c1iqvktk4olmfqtth4lg%40group.calendar.google.com/public/basic.ics",
                    icon: "emojione-v1:shield"
                  }
                ],
                views: [
                  {
                    name: "UPCOMING_GAME",
                    calendars: ["Tottenham", "Leeds"],
                    mode: "upcoming",
                    slotMaxHeight: "150px",
                    position: "top_left",
                    positionOrder: 1
                  },
                  {
                    name: "DAILY_GAME",
                    calendars: ["Tottenham", "Leeds"],
                    mode: "daily",
                    type: "row",
                    positionOrder: 0,
                    slotCount: 5,
                    slotMaxHeight: "100px",
                    slotSubTitleFormat: "MMM do",
                    position: "bottom_bar"
                  }
                ],
                scenes: [
                  {
                    name: "DEFAULT",
                    views: ["UPCOMING_GAME", "DAILY_GAME"],
                  }
                ]
              }
            }
            
            H 1 Reply Last reply Reply Quote 0
            • H Offline
              harmZj @MMRIZE
              last edited by

              @mmrize you’re exactly right. I will plug in the position order like you have and see what I get. Thanks :)… I was up till 2AM very irritated I couldn’t get it right lol.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy