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 6.4k 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.
    • 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
                      • T Offline
                        teitlebot
                        last edited by

                        I’m sorry I answered incorrectly. I would like the hebrew calendar date. Something that I think I can only get from that script I posted.

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

                          @teitlebot So you don’t just want to translate January into hebrew, but want to implement the hebrew calendar.

                          Thats a more challenging task to do.

                          In your custom CSS you can try something like

                            content: url('http://www.hebrewCalendarThingi.XXX');
                          
                          
                          T 1 Reply Last reply Reply Quote 0
                          • T Offline
                            teitlebot @idoodler
                            last edited by

                            @idoodler i thought it would be simple because hebcal provides a script with that information

                            1 Reply Last reply Reply Quote 0

                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                            With your input, this post could be even better 💗

                            Register Login
                            • 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