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

How can I add this script text to my screen

Scheduled Pinned Locked Moved Unsolved General Discussion
13 Posts 4 Posters 4.7k 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 Jun 8, 2018, 11:43 PM

    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 I 2 Replies Last reply Jun 9, 2018, 2:52 AM Reply Quote 0
    • S Away
      sdetweil @teitlebot
      last edited by Jun 9, 2018, 2:52 AM

      @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 Jun 10, 2018, 2:44 AM

        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
        • J Offline
          justjim1220 Module Developer
          last edited by Jun 10, 2018, 9:42 PM

          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 Jun 11, 2018, 10:35 PM Reply Quote 0
          • T Offline
            teitlebot @justjim1220
            last edited by Jun 11, 2018, 10:35 PM

            @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
            • I Offline
              idoodler Module Developer @teitlebot
              last edited by Jun 12, 2018, 7:03 AM

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

              J 1 Reply Last reply Jun 12, 2018, 9:06 PM Reply Quote 0
              • J Offline
                justjim1220 Module Developer @idoodler
                last edited by justjim1220 Jun 12, 2018, 9:12 PM Jun 12, 2018, 9:06 PM

                @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

                I 1 Reply Last reply Jun 12, 2018, 9:19 PM Reply Quote 0
                • I Offline
                  idoodler Module Developer @justjim1220
                  last edited by Jun 12, 2018, 9:19 PM

                  @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 Jun 17, 2018, 6:34 PM Reply Quote 0
                  • T Offline
                    teitlebot @idoodler
                    last edited by Jun 17, 2018, 6:34 PM

                    @idoodler Its just the current date in hebrew

                    I 1 Reply Last reply Jun 17, 2018, 6:37 PM Reply Quote 0
                    • I Offline
                      idoodler Module Developer @teitlebot
                      last edited by Jun 17, 2018, 6:37 PM

                      @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
                      1 / 2
                      • First post
                        2/13
                        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