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.

    Google Task module

    Scheduled Pinned Locked Moved Custom CSS
    9 Posts 3 Posters 2.1k Views 3 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.
    • P Offline
      pastormingle
      last edited by sdetweil

      Re: Google tasks?I am using the google task api with “MMM-GoogleTasks” module. I am tryin to change the line height on the task header but I’ve not been able to move it. I’ve tried using ;

      .MMM-GoogleTasks {
         font-size: 20px;
         line-height: 3.0px;
      }
      

      Which will change the font size but not able to move the header.!b9af1e85-e41b-4967-9d19-81d8136474ca-image.png

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @pastormingle
        last edited by sdetweil

        @pastormingle read this
        https://forum.magicmirror.builders/topic/14862/help-with-a-couple-css-issues?_=1631402927193

        hint
        the module header is NOT in the module content

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • P Offline
          pastormingle
          last edited by

          that worked perfectly and i was able to set the header etc all looks great now… But this morning when I started my Google task nothing is showing now… Do you have any tips on trouble shooting modules that use an API ?

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @pastormingle
            last edited by

            @pastormingle every module uses an API…

            look in the dev window console tab

            see if there is a debug config option
            look for messages where u start mm

            if pm2, then use pm2 logs --lines=100

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • P Offline
              pastormingle
              last edited by

              I looked through the log and don’t see anything that would be an issue…
              “loader.js:184 Load script: modules/MMM-GoogleTasks/MMM-GoogleTasks.js
              :8080/modules/MMM-GoogleTasks/MMM-GoogleTasks.js:7 Uncaught SyntaxError: Unexpected identifier
              loader.js:184 Load script: modules/default/updatenotification/updatenotification.js”

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @pastormingle
                last edited by sdetweil

                @pastormingle said in Google Task module:

                MMM-GoogleTasks.js:7 Uncaught SyntaxError: Unexpected identifier

                looks like u might have edited the source, instead of using config.js settings
                NEVER edit the source files, unless u know what you are doing and intend to add function…

                to restore the source file

                cd ~/MagicMirror/modules/MMM-GoogleTasks
                git checkout MMM-GoogleTasks.js
                

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                P 1 Reply Last reply Reply Quote 0
                • P Offline
                  pastormingle @sdetweil
                  last edited by

                  @sdetweil that was it thanks so much…

                  1 Reply Last reply Reply Quote 0
                  • bigschucksB Offline
                    bigschucks
                    last edited by

                    Decided to update this thread with my comment. Recently started programming and also get all sorts of errors. I already understood that if I can’t edit the style, but need to look at the html … really often this is a mistake

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil
                      last edited by

                      @bigschucks what does this contribute to the topic?

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      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