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

Extra Text in Weather Module Header

Scheduled Pinned Locked Moved Solved Troubleshooting
6 Posts 2 Posters 701 Views 2 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.
  • E Offline
    EHelberg88
    last edited by Oct 11, 2022, 5:45 AM

    I am very much new to Magic Mirror, been running for about 2 weeks. I have it mostly setup the way I want, but there is on thing that I have not been able to figure out. On the weather module it displays AMERICA/DENVER to the right of the header I have set and can’t see to figure out how to make that go away.

    8bd979fa-e90d-43c2-b1eb-97059519785f-image.png

    Below is the code for the weather modules. If anyone has any assistance it would be great.

    5bf49720-c68b-4e5f-9936-fa3b1da6471d-image.png

    S 1 Reply Last reply Oct 11, 2022, 12:59 PM Reply Quote 1
    • S Offline
      sdetweil @EHelberg88
      last edited by Oct 11, 2022, 6:50 PM

      @EHelberg88 no. you have it set to ‘false’, not false

      quotes make it a string, which is always true

      true, false and numbers do not use quotes

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      E 1 Reply Last reply Oct 11, 2022, 6:53 PM Reply Quote 0
      • S Offline
        sdetweil @EHelberg88
        last edited by Oct 11, 2022, 12:59 PM

        @EHelberg88 in the documentation for the module is a setting to display (or not) the location

        true by default

        Screenshot_20221011-075810_Chrome.jpg

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        E 1 Reply Last reply Oct 11, 2022, 6:43 PM Reply Quote 0
        • E Offline
          EHelberg88 @sdetweil
          last edited by Oct 11, 2022, 6:43 PM

          @sdetweil the appendLocationNameToHeader is set to false in my code as shown above.

          S 1 Reply Last reply Oct 11, 2022, 6:50 PM Reply Quote 0
          • S Offline
            sdetweil @EHelberg88
            last edited by Oct 11, 2022, 6:50 PM

            @EHelberg88 no. you have it set to ‘false’, not false

            quotes make it a string, which is always true

            true, false and numbers do not use quotes

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            E 1 Reply Last reply Oct 11, 2022, 6:53 PM Reply Quote 0
            • E Offline
              EHelberg88 @sdetweil
              last edited by Oct 11, 2022, 6:53 PM

              @sdetweil I will also have to go through and remove the quotes from the other lines, but the other lines I work with the quotes, which is why I was confused. Removal of the quotes worked and the location disappears. Thank you so much!

              S 1 Reply Last reply Oct 11, 2022, 8:54 PM Reply Quote 0
              • S Offline
                sdetweil @EHelberg88
                last edited by Oct 11, 2022, 8:54 PM

                @EHelberg88 ‘true’ is a string which evaluates to true… boolean 1

                ‘false’ is also a string which evaluates to true, boolean 1

                false, no quotes, is a boolean , 0

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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