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 can I add this script text to my screen

    Scheduled Pinned Locked Moved Unsolved General Discussion
    13 Posts 4 Posters 4.8k Views 4 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.
    • T Offline
      teitlebot
      last edited by

      please help someone who doesnt know java. I would like to add the following script that will place a hebrew date next to my English one. I dont know how and where to place this in the config file.

      S idoodlerI 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @teitlebot
        last edited by

        @teitlebot you didn’t post the script

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 1
        • T Offline
          teitlebot
          last edited by

          I see it didnt display. I had to remove the / character to show it.
          script type=“text/javascript” charset=“utf-8”
          src=“//www.hebcal.com/etc/hdate-he.js”>script

          1 Reply Last reply Reply Quote 0
          • justjim1220J Offline
            justjim1220 Module Developer
            last edited by

            where is your current (English) date placed? Meaning, which module is showing it? The clock, calendar, etc?

            "Life's Too Short To Dance With Ugly People"
            Jim Hallock - 1995

            T 1 Reply Last reply Reply Quote 0
            • T Offline
              teitlebot @justjim1220
              last edited by

              @justjim1220 I just have the default module. It has the date right on top of the clock.
              I dont know how to add this script

              1 Reply Last reply Reply Quote 0
              • idoodlerI Offline
                idoodler Module Developer @teitlebot
                last edited by

                @teitlebot I think the best approach is to help the module creator to translate his module into Hebrew. Scotch taping something together is ok for a short period of time, but not for any longer.

                justjim1220J 1 Reply Last reply Reply Quote 0
                • justjim1220J Offline
                  justjim1220 Module Developer @idoodler
                  last edited by justjim1220

                  @idoodler

                  Don’t think he’s wanting the whole module in Hebrew, just wants to add the Hebrew translation of the time added to the English module.

                  I’m thinking there should be a way to add the script to a Custom.CSS for the clock module without having to add or change the original script for the clock.

                  I’m still new at this, so, I will give it a look, but I’m sure someone out there would know how to do it besides me. :smiling_face_with_sunglasses:

                  I made changes to mine using a custom css for the clock module…

                  0_1528837923011_Screenshot (1067).png

                  "Life's Too Short To Dance With Ugly People"
                  Jim Hallock - 1995

                  idoodlerI 1 Reply Last reply Reply Quote 0
                  • idoodlerI Offline
                    idoodler Module Developer @justjim1220
                    last edited by

                    @teitlebot What exactly do you want do display? Is it the current date in hebrew or the date in the hebrew calender?

                    T 1 Reply Last reply Reply Quote 0
                    • T Offline
                      teitlebot @idoodler
                      last edited by

                      @idoodler Its just the current date in hebrew

                      idoodlerI 1 Reply Last reply Reply Quote 0
                      • idoodlerI Offline
                        idoodler Module Developer @teitlebot
                        last edited by

                        @teitlebot Well, I would rather translate the module into hebrew then fiddling around with CSS. This will last longer, also you can support other hebrew speakers by translating the module and share your work.

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