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 926 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.
    • S Offline
      sdetweil @EHelberg88
      last edited by

      @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 Reply Quote 0
      • E Offline
        EHelberg88 @sdetweil
        last edited by

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

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

          @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 Reply Quote 0
          • E Offline
            EHelberg88 @sdetweil
            last edited by

            @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 Reply Quote 0
            • S Offline
              sdetweil @EHelberg88
              last edited by

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