• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Update says to "commit your changes or stash them before you can merge." ?

Scheduled Pinned Locked Moved Troubleshooting
26 Posts 8 Posters 40.7k Views 8 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.
  • R Offline
    Richard238
    last edited by Apr 4, 2017, 10:50 AM

    @yawns Brilliant! A comma after each of the ] seems to have fixed it.

    Thank you.

    1 Reply Last reply Reply Quote 0
    • R Offline
      Richard238
      last edited by Apr 4, 2017, 11:11 AM

      		module: 'calendar',
      		header: 'Calendar',
      
      
      
      		module: 'calendar',
      		header: 'Binday',
      

      With two calendars, how do I get different icons / icon colours again in custom.css?

       .calendar .fa.fa-calendar-check-o {
        color: #00d2FF /* 55=Green FF=Blue*/
      }
      
       .calendar .fa.fa-trash-o  {
        color: #C97F7F; /* Brown */
       }
      
      S 1 Reply Last reply Apr 4, 2017, 11:45 AM Reply Quote 0
      • S Offline
        strawberry 3.141 Project Sponsor Module Developer @Richard238
        last edited by Apr 4, 2017, 11:45 AM

        @Richard238 you can use the module identifier for it as it is unique

        #module_7_calendar .fa.fa-calendar-check-o {
        
        }
        
        #module_8_calendar .fa.fa-calendar-check-o {
        
        }
        

        the number is the index of the entry in your config starting at 0

        e.g.

        modules: [
          {module: "A", position: "top_right"}, //index: 0
          {module: "B", position: "top_right"}, //index: 1
          {module: "calendar", position: "top_right"}, //index: 2
          ...
        ]
        

        Please create a github issue if you need help, so I can keep track

        1 Reply Last reply Reply Quote 1
        • R Offline
          Richard238
          last edited by Apr 4, 2017, 12:18 PM

          Ok, like this?

          modules: [
          		{
          			module: 'alert',   # Module 0
          		},
          		
                  {
                     module: "MMM-MyTemps",  # Module 1
                      header: "Home Sensors",
                      position: "bottom_right",
                      config: {
                          host: "192.168.1.41",
                          path: "/temp2mcf.php?format=json",
                          reloadInterval: 2 * 1000   //2 seconds
                      }
              	},		
          			
          		{
          			module: "updatenotification",  # Module 2
          			position: "top_bar"
          		},
          		{
          			module: 'clock',   # Module 3
          			position: 'top_left'
          		},
          		{
          			module: 'calendar',  # Module 4
          

          . … …And second calendar = # Module 5
          making the custom.css look like this:

           #module_4_calendar .fa.fa-calendar-check-o {
            color: #00d2FF /* 55=Green FF=Blue*/
          }
          
            #module_5_calendar  .fa.fa-trash-o  {
            color: #C97F7F; /* Brown */
           }
          
          S 1 Reply Last reply Apr 4, 2017, 12:21 PM Reply Quote 0
          • S Offline
            strawberry 3.141 Project Sponsor Module Developer @Richard238
            last edited by Apr 4, 2017, 12:21 PM

            @Richard238 yes this should colorize the calendar icon fa-calendar-check-o in your first instance and fa-trash-o in your second.

            Please create a github issue if you need help, so I can keep track

            1 Reply Last reply Reply Quote 0
            • R Offline
              Richard238
              last edited by Apr 4, 2017, 12:37 PM

              This post is deleted!
              S 1 Reply Last reply Apr 4, 2017, 12:40 PM Reply Quote 0
              • S Offline
                strawberry 3.141 Project Sponsor Module Developer @Richard238
                last edited by Apr 4, 2017, 12:40 PM

                @Richard238 check the part between calendar and compliments module

                Please create a github issue if you need help, so I can keep track

                R 1 Reply Last reply Apr 4, 2017, 12:43 PM Reply Quote 0
                • R Offline
                  Richard238 @strawberry 3.141
                  last edited by Apr 4, 2017, 12:43 PM

                  @strawberry-3.141 I’ve no idea what I’m looking for, sorry…

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    Richard238
                    last edited by Apr 4, 2017, 12:45 PM

                    Just tried the default sample config.js, and that doesn’t work either!

                    S 1 Reply Last reply Apr 4, 2017, 12:50 PM Reply Quote 0
                    • S Offline
                      strawberry 3.141 Project Sponsor Module Developer @Richard238
                      last edited by Apr 4, 2017, 12:50 PM

                      @Richard238 you pasted the start function into your config file, but if the config sample doesnt work either your problem is somewhere else

                      Please create a github issue if you need help, so I can keep track

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        11/26
                        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