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.

    How to post code on the forum - For absolute beginners

    Scheduled Pinned Locked Moved Troubleshooting
    26 Posts 10 Posters 20.2k Views 9 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @s199
      last edited by

      @s199 said in How to post code on the forum - For absolute beginners:

      i love your “absolute beginners” guides, keep them coming!

      thanks a lot !

      Hey, thanks for that. I do appreciate it. When I think of another one, I’ll get right to it.

      Peace!

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @s199
        last edited by

        @s199

        You might be interested in this. It’s not titled For absolute beginners, but it’s close enough.

        https://forum.magicmirror.builders/topic/4089/complete-walkthrough-install-magicmirror-on-a-pc-windows-7

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • R Offline
          roxx
          last edited by roxx

          lets see if this works
          I have this back tick on my Android and not in my windows tablet.. so i will need to post code from this mobile!!!

          Only a biker knows why dogs stick their head outside the window of a moving vehicle!!

          1 Reply Last reply Reply Quote 0
          • swvalentiS Offline
            swvalenti Project Sponsor
            last edited by

            Awesome

            Thank you!
            
            1 Reply Last reply Reply Quote 0
            • evroomE Offline
              evroom
              last edited by

              Still having trouble with < and >, actually < x m l _ l I n e > (without spaces).

              <xml_line>
              

              Or:

              </xml_line>
              

              I did:

              < x m l _ l I n e >

              and

              < / x m l _ l I n e >

              Remove the spaces to get my result.
              I was given a workaround for this, but of course forgot it.

              MagicMirror version: 2.30.0
              Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
              Raspbian GNU/Linux 12 (bookworm)

              Test environment:
              MagicMirror version: v2.30.0
              Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
              Raspbian GNU/Linux 12 (bookworm)

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

                @evroom the workaround is to add a space after <

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                evroomE 1 Reply Last reply Reply Quote 0
                • evroomE Offline
                  evroom @sdetweil
                  last edited by

                  @sdetweil
                  Can’t be it. He said hopefully.
                  So when I have numerous lines of xml, I need to add a space after every < ?

                  And when doing so I actually get:
                  < xml_line>

                  MagicMirror version: 2.30.0
                  Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                  Raspbian GNU/Linux 12 (bookworm)

                  Test environment:
                  MagicMirror version: v2.30.0
                  Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                  Raspbian GNU/Linux 12 (bookworm)

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

                    @evroom yes… the space will show, uuuuuuuugly…

                    you would think that the three backquotes would turn off text interpretation…
                    but sadly not…

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • Mykle1M Offline
                      Mykle1 Project Sponsor Module Developer
                      last edited by Mykle1

                      I’m posting to this topic in the hope that it will be read by users that are not aware of the protocol for posting.

                      Your code posts should look like this:

                      {
                                  disabled: false,
                                  module: "MMM-EARTH",
                                  position: "bottom right",
                                  config: {
                                      mode: "Natural",
                                      rotateInterval: 15000,
                                      animationSpeed: 0,
                                      MaxWidth: "45%",
                                      MaxHeight: "45%",
                                  }
                              },
                      

                      NOT like this:

                      {
                      disabled: false,
                      module: “MMM-EARTH”,
                      position: “bottom right”,
                      config: {
                      mode: “Natural”,
                      rotateInterval: 15000,
                      animationSpeed: 0,
                      MaxWidth: “45%”,
                      MaxHeight: “45%”,
                      }
                      },

                      Peace!

                      Create a working config
                      How to add modules

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

                        Thanks for this post. I am about to put it to good use.

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