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

read csv-data and put it in an array

Scheduled Pinned Locked Moved Utilities
313 Posts 3 Posters 421.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.
  • P Offline
    Perlchamp
    last edited by May 2, 2020, 3:01 AM

    displays the last row of the data-string, though the data from first to last are looped. for me it seems correct there …

    S 1 Reply Last reply May 2, 2020, 3:02 AM Reply Quote 0
    • S Online
      sdetweil @Perlchamp
      last edited by May 2, 2020, 3:02 AM

      @Perlchamp ok, put a stop on the 1st line of getDom()

      it will be called before you get data, then your notification will be called
      and then getdom() again… and u can watch it go thru the code

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • P Offline
        Perlchamp
        last edited by May 2, 2020, 3:04 AM

        yes it does … i changed innerText to innerHTML but nothing.

        S 1 Reply Last reply May 2, 2020, 3:05 AM Reply Quote 0
        • S Online
          sdetweil @Perlchamp
          last edited by May 2, 2020, 3:05 AM

          @Perlchamp ok, inner HTML is when u are inserting html… my code inserts text…

          did u have a position: in config definition for module?

          		{
          			module: "SampleModule",
          			disabled: false, 
          			position: 'middle',
          			config: {
          				days_forward:4,
          			}
          		}
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • P Offline
            Perlchamp
            last edited by May 2, 2020, 3:06 AM

            yes, top, but i will post it, moment:

            		{
            			module: 'perlchamp',
            			position: 'top',
            			header: "Geburtstage",
            			config: {
            				language: "de"
            			}
            
            
            S 1 Reply Last reply May 2, 2020, 3:09 AM Reply Quote 0
            • S Online
              sdetweil @Perlchamp
              last edited by sdetweil May 2, 2020, 3:11 AM May 2, 2020, 3:09 AM

              @Perlchamp i changed mine to top and all ok, did u walk thru the code in getdom? (hit next over and over)

              put a stop on return wrapper and look at that object…

              i have multiple names on the same date in my csv file
              and also allowed look ahead a few days… so had entries for today and tuesday 5/5

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • P Offline
                Perlchamp
                last edited by May 2, 2020, 3:13 AM

                i clicked on the linenumber and the blue sign went to the last line, though i couldn’t hit line for line …

                S 1 Reply Last reply May 2, 2020, 3:15 AM Reply Quote 0
                • S Online
                  sdetweil @Perlchamp
                  last edited by May 2, 2020, 3:15 AM

                  @Perlchamp next to the blue arrow (to the right) is a half circle with arrow at the end and dot under… that is the “Next” instruction button

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    Perlchamp
                    last edited by May 2, 2020, 3:15 AM

                    return wrapper. all entries undefined, aha.

                    S 1 Reply Last reply May 2, 2020, 3:16 AM Reply Quote 0
                    • S Online
                      sdetweil @Perlchamp
                      last edited by sdetweil May 2, 2020, 3:16 AM May 2, 2020, 3:16 AM

                      @Perlchamp on entry, check that the this.active_birthdays is still good

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 28
                      • 29
                      • 30
                      • 31
                      • 32
                      • 31 / 32
                      31 / 32
                      • First post
                        126/313
                        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