MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. almightyyoshi
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    A
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 31
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: A few CalExt3 questions: background images, glance, and symbols

      @MMRIZE

      1. Thanks! I was so close. I thought I had to specify .cell. Also, I had completely forgotten to make an images folder, but that only took me 10 minutes to remember. :beaming_face_with_smiling_eyes:

      2. Thanks. I’ll look at MMM-Touch.

      3. Here’s my code. Yes, default works fine. It only messes up when I try to specify an icon.

      Default Calendar

      {
                              module: "calendar",
                              //position: "bottom_center",
                              config: {
                                      colored: true,
                                      broadcastPastEvents: true,
                                      calendars: [
                                              {
                                              url: ...
                                              name: "CJ",
                                              color: "#3061E3",
                                              auth: {
                                                    user: ...,
                                                    pass: ...
                                              }
                                              },
                                              {
                                              url: ...
                                              name: "Family",
                                              color: "#DA2528",
                                              auth: {
                                                    user: ...,
                                                    pass:  ...
                                              }
                                              },
                                              {
                                              url: ...
                                              name: "Fiji",
                                              color: "#d2cf2a",
                                              auth: {
                                                    user: ...,
                                                    pass: ...
                                              }
                                              },
                                              {
                                              url:  
                                              name: "Clararee",
                                              color: "#a716b8",
                                              auth: {
                                                    user: ...,
                                                    pass: ...
                                              }
                                              },
                                              url: ...
                                              name: "Birthdays",
                                              symbol: "fa-solid fa-cake-candles",
                                              auth: {
                                                    user: ...,,
                                                    pass: ...
                                              }
                                              },
                                              {
                                              url: ...
                                              name: "Music",
                                              symbol: "fa-solid fa-music",
                                              auth: {
                                                    user: ...,
                                                    pass: ...
                                              }
                                              },
                                      ],
                              }
                      },
      

      CalExt3

              {
                  module: "MMM-CalendarExt3",
                  position: "middle_center",
                  config: {
                          mode: "month",
                          instanceID: "currentMonth",
                          firstDayOfWeek: 0,
                          useSymbol: true,
                          calendarSet: [],
                  }
              },
      
      posted in Utilities
      A
      almightyyoshi
    • A few CalExt3 questions: background images, glance, and symbols

      Re: MMM-CalendarExt3

      I’m feeling particularly dense, but can anyone answer these questions?

      1. Can cells (month view) have background images? If so, how? I like to set them for holidays and such.

      2. How do you use glance and step to “flip” to the next month? (I did this in CalExt2 using scenes and views) Do I need another instance of the default Calendar and CalExt3?

      3. When I try to use symbols other than the default symbol (changed in default Calendar config), my events don’t load in CalExt3 (or, oddly enough, the only events that load are from the only calendar I pull from Outlook…the rest are Google and don’t populate). I’ve checked the default Calendar module, and the new symbols are displayed there. Any ideas?

      posted in Utilities
      A
      almightyyoshi
    • RE: MMM-CalendarExt3

      @MMRIZE Dropping position worked. I thought I’d get an error or blank screen for that. Thanks again!

      posted in Utilities
      A
      almightyyoshi
    • RE: MMM-CalendarExt3

      @MMRIZE That’s perfect. Thanks. I just wasn’t sure if those attributes were available and I honestly just didn’t feel like experimenting at that moment. Last question (think): Is there a way to hide the default calendar module and still populate CX3. I found a way to hide the module (by editing the calendar module’s base config) on startup, but then CX3 doesn’t have any events. Here’s what I used (courtesy of @sdetweil from a thread a couple of years ago):

      hidden: false, 
      
      
      suspend: function(){
          this.hidden=true
      },
      
      restore: function(){
           this.hidden=false
      },
      
      notificationReceived: function(notification, payload, source){
         // this comes before the first call to getDom()
         if(notification === "ALL_MODULES_STARTED")
            this.hidden=true;
      }.
      
      getDom: function (){
      var wrapper=document.createElement('div')
      if(this.hidden==false){ 
           //create normal content
      }
      return wrapper;
      },
      
      posted in Utilities
      A
      almightyyoshi
    • RE: MMM-CalendarExt3

      Just a couple of quick questions. First, how do you remove icons from events? I see in the sample pics that it’s been done, but I can’t seem to make it happen. Second, in CalExt2, I could style event borders and would show/color those instead of having a completely filled in event color. I could also show only certain borders (for full day I only had the left and bottom, but single day events only had the left border). Is that possible with CalExt3?

      posted in Utilities
      A
      almightyyoshi
    • RE: Remove icons and Event borders

      @sdetweil Sorry. I thought I had put this in the Calext3 forum, but apparently didn’t. I’ll just re-ask there.

      posted in Utilities
      A
      almightyyoshi
    • Remove icons and Event borders

      Just a couple of quick questions. First, how do you remove icons from events? I see in the sample pics that it’s been done, but I can’t seem to make it happen. Second, in CalExt2, I could style event borders and would show and color those instead of having a completely filled in event color. I could also show only certain borders (for full day I only had the bottom and ends, but single day events were completely enclosed). Is that possible with CalExt3?

      posted in Utilities
      A
      almightyyoshi
    • RE: MMM-CalendarExt2

      How can I add an image to the background of a specific slot, such as a pumpkin to October 31 or a Christmas tree to December 25. I was thinking of .slotcontent, but not sure how to filter that. Also, how would it be done for things like Hannukah, where there aren’t set days. I was also thinking of using dayofyear, but leap years would mess with that, and still wouldn’t solve Hannukah or any other shifting holidays.

      posted in Utilities
      A
      almightyyoshi
    • RE: Nothing loading on screen

      @pkup10

      I had the same problem with CalExt2 after a reinstall a couple of months ago. @sdetweil actually led me to it in a random response to someone else. Go into your modules folder and type:

      npm install request

      That should clear it up.

      posted in Troubleshooting
      A
      almightyyoshi
    • RE: MMM-CalendarExt2

      @almightyyoshi NM. I was way overthinking that. Found the “fromNow” setting.

      posted in Utilities
      A
      almightyyoshi
    • 1
    • 2
    • 3
    • 4
    • 3 / 4