• 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.

MMM-CalendarExt3 color formatting

Scheduled Pinned Locked Moved Solved Troubleshooting
15 Posts 6 Posters 3.9k Views 7 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.
  • J Offline
    jlward73
    last edited by Jan 29, 2024, 8:50 PM

    So I figured out what the problem was, and it was much simpler than I suspected. For some reason, in my default calendar module, I used
    module: 'calendar' instead of module: "calendar" in the config file. When I ran npm run config:check, it made me change many of my quotation marks to “correct” the syntax. When I went through and changed everything to the double quotes, the color coding passed through to CalendarExt3 just as expected/designed. Now, I think I can go through and tweak the single day events as MMRIZE was suggesting to match my background pictures so they stand out appropriately for my set up. Thank you for all the guidance.

    G S 2 Replies Last reply Feb 28, 2024, 1:59 PM Reply Quote 0
    • G Offline
      greedyvegan @jlward73
      last edited by Feb 28, 2024, 1:59 PM

      @jlward73 said in MMM-CalendarExt3 color formatting:

      So I figured out what the problem was, and it was much simpler than I suspected. When I ran npm run config:check, it made me change many of my quotation marks to “correct” the syntax.

      whenever I run con fig check, it just says syntax error and I gotta figure what the issue is and it’s usually a missing comma.

      What do I have to do to get config check to diagnose the exact issue?

      S 1 Reply Last reply Feb 28, 2024, 2:06 PM Reply Quote 0
      • S Offline
        sdetweil @greedyvegan
        last edited by Feb 28, 2024, 2:06 PM

        @greedyvegan said in MMM-CalendarExt3 color formatting:

        What do I have to do to get config check to diagnose the exact issue?

        config check cannot get any closer…

        it ‘compiles’ the source, and dies when it discovers something incorrect.
        it cannot tell WHY it is incorrect… that is a human thing

        all it can say is ‘here’ is bad. and this is the logical error I encountered. (‘unexpected token’ for example)

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        G 1 Reply Last reply Feb 28, 2024, 2:09 PM Reply Quote 0
        • G Offline
          greedyvegan @sdetweil
          last edited by Feb 28, 2024, 2:09 PM

          @sdetweil

          ok, thank you.
          I may have misread what he wrote.

          1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @jlward73
            last edited by sdetweil Feb 28, 2024, 2:23 PM Feb 28, 2024, 2:23 PM

            @jlward73 many times the content pasted into the forum does not use a code wrapper.

            when this happens, the content is assumed to be word processing ( ms word or like), and the double and single quotes are changed to match (curved)
            zoom in on these two sets of quotes
            ’
            "

            "'
            

            JavaScript uses text mode, (quotes are vertical not curved) and freaks out when encountering the word processing quotes, as they don’t match anything expected.

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • 1
            • 2
            • 2 / 2
            • 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