MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED Two questions regarding MMM-CalendarExt2

    Troubleshooting
    2
    3
    630
    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.
    • C
      CliffordW last edited by

      I’m sure the answer is in the documentation somewhere. Anyway, local community center wants to display upcoming Gym rental and free times. So the two things I need (which I can’t figure out) is to display the next 4 weeks showing days the way they appear in the month view, and how to include the ending time or the duration. Thanks in advance.

      /* Magic Mirror Config Sample
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       *
       * For more information how you can configurate this file
       * See https://github.com/MichMich/MagicMirror#configuration
       *
       */
      
      var config = {
      	address: "localhost", // Address to listen on, can be:
      	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
      	                      // - another specific IPv4/6 to listen on a specific interface
      	                      // - "", "0.0.0.0", "::" to listen on any interface
      	                      // Default, when address config is left out, is "localhost"
      	port: 8080,
      	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
      	                                                       // or add a specific IPv4 of 192.168.1.5 :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
      	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
      
      	language: "en",
      	timeFormat: 24,
      	units: "metric",
      
      	modules: [
      		{
      			module: 'MMM-CalendarExt2',
      			  config: {
      				calendars : [
      				
      				  { 
      					name: "BNC Rentals", 
      					url: "https://calendar.google.com/calendar/ical/bncrentals185%40gmail.com/public/basic.ics",
      				  },
      				],
      				views: [
      				{
      					Name: "Rentals",
      					title: "Gym Rentals",
      					mode: "month",			
      					position: "fullscreen_above",
      					calendars: ["BNC Rentals"],
      					dateformat: "HH:mm",
      					timeformat: "HH:mm",
      				
      				
      				}
      				],
      				scenes: [
      				  {
      					name: "DEFAULT",
      					views: [],
      				  },
      				],
      			  },
      		}
      	]
      
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") {module.exports = config;}
      
      ? 1 Reply Last reply Reply Quote 0
      • ?
        A Former User @CliffordW last edited by

        @CliffordW

        1. mode:"week",
        2. events of week/month views are too narrow to display end-time or duration. (informations themselves are hidden in event elements but not revealed. I don’t recommend show them.)
        C 1 Reply Last reply Reply Quote 0
        • C
          CliffordW @Guest last edited by CliffordW

          @Sean Thanks! I could suggest to staff to make duration part of the description. That will work.

          I can display ‘Gym Rentals’ on the left side of the calendar. Is there anyway to display the month of the current week on the right side?

          https://imgur.com/kcPfvub

          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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy