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

birthdaylist

Scheduled Pinned Locked Moved Solved Requests
module
41 Posts 3 Posters 20.0k Views 3 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.
  • M Offline
    MyMirror
    last edited by Dec 29, 2023, 7:35 AM

    @sdetweil

    thank you very much for your great birthday overview.
    Unfortunately, as you wrote here ( https://forum.magicmirror.builders/topic/18107/mmm-birthdays/11 ), the list is limited to the end of the month or year.
    Is it possible to add 2 more options to extend the display beyond the end of the month or year? Because this way I can only see at the beginning of the month/year if someone has a birthday on 01.01., for example.
    And … could the list also have an underlined heading “Birthdays”?

    I wish you all a happy new year. Stay healthy.

    Jens

    S 2 Replies Last reply Dec 29, 2023, 1:09 PM Reply Quote 0
    • S Offline
      sdetweil @MyMirror
      last edited by Dec 29, 2023, 3:33 PM

      @MyMirror go to the module folder and do

      git pull

      to get underlined header just add the header to the config

      {
              module: "birthdaylist",
              position:'top_left',
              header:"birthday list header",
              config: {
      					language: "en",
      					dimmEntries:true,  // true: dims entries and the associated
      							     //       symbol when the date has expired.
      						             // false: dont display entries and the associated
      							     //        symbol when the date has expired.
      					initialLoadDelay: 0, // How many seconds to wait on a fresh start up.
      							     // This is to prevent collision with all other modules also
      							     // loading all at the same time. This only happens once,
      							     // when the mirror first starts up.
      					updateDelay: 5,      // How many seconds after midnight before a refresh
      							     // This is to prevent collision with other
      							     // modules refreshing at the same time.
      					currentMonthOnly: false,  // will show birthdays for the current month only if true
      					maxEntries: 0,	     // maximum entries to show, default is all
      					dateFormat: '',	     // date format for birthday (default is none), could be 'Do' for 'Sep 12th'
      					ageFormat:'',	     // some format string for the persons age, '[ n ]'  n will be replace by age value
      					debug:false
                      }
      }
      

      for year end wrap around, set
      currentMonthOnly:false,

      Screenshot at 2023-12-29 09-32-41.png

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      M 1 Reply Last reply Dec 29, 2023, 4:23 PM Reply Quote 0
      • S Offline
        sdetweil @MyMirror
        last edited by Dec 29, 2023, 1:09 PM

        @MyMirror what if you change
        currentMothOnly: to false from true?

        underline, use custom.css to add the underline

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @MyMirror
          last edited by Dec 29, 2023, 3:33 PM

          @MyMirror go to the module folder and do

          git pull

          to get underlined header just add the header to the config

          {
                  module: "birthdaylist",
                  position:'top_left',
                  header:"birthday list header",
                  config: {
          					language: "en",
          					dimmEntries:true,  // true: dims entries and the associated
          							     //       symbol when the date has expired.
          						             // false: dont display entries and the associated
          							     //        symbol when the date has expired.
          					initialLoadDelay: 0, // How many seconds to wait on a fresh start up.
          							     // This is to prevent collision with all other modules also
          							     // loading all at the same time. This only happens once,
          							     // when the mirror first starts up.
          					updateDelay: 5,      // How many seconds after midnight before a refresh
          							     // This is to prevent collision with other
          							     // modules refreshing at the same time.
          					currentMonthOnly: false,  // will show birthdays for the current month only if true
          					maxEntries: 0,	     // maximum entries to show, default is all
          					dateFormat: '',	     // date format for birthday (default is none), could be 'Do' for 'Sep 12th'
          					ageFormat:'',	     // some format string for the persons age, '[ n ]'  n will be replace by age value
          					debug:false
                          }
          }
          

          for year end wrap around, set
          currentMonthOnly:false,

          Screenshot at 2023-12-29 09-32-41.png

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          M 1 Reply Last reply Dec 29, 2023, 4:23 PM Reply Quote 0
          • M Offline
            MyMirror @sdetweil
            last edited by Dec 29, 2023, 4:23 PM

            @sdetweil

            It couldn’t look any better.
            Great - thank you very much!

            Jens

            M 1 Reply Last reply Dec 29, 2023, 6:02 PM Reply Quote 0
            • M Offline
              MyMirror @MyMirror
              last edited by Dec 29, 2023, 6:02 PM

              @sdetweil

              Hmm, if i set
              currentMonthOnly: false,
              and
              maxEntries: 10,

              i just get 3 lines.
              Can you check this?

              BR
              Jens

              M 1 Reply Last reply Dec 29, 2023, 6:07 PM Reply Quote 0
              • M Offline
                MyMirror @MyMirror
                last edited by Dec 29, 2023, 6:07 PM

                @sdetweil

                … and if i delete
                03/01/1940,aaa AAAAA
                06/01/1969,bbb BBBBB
                only Joan is left …
                Any idea?

                Jens

                S 1 Reply Last reply Dec 29, 2023, 6:19 PM Reply Quote 0
                • S Offline
                  sdetweil @MyMirror
                  last edited by sdetweil Dec 29, 2023, 6:25 PM Dec 29, 2023, 6:19 PM

                  @MyMirror hm…

                  {
                          module: "birthdaylist",
                          position:'top_left',
                          header:"birthday list header",
                          config: {
                  					language: "en",
                  					dimmEntries:true,  // true: dims entries and the associated
                  							     //       symbol when the date has expired.
                  						             // false: dont display entries and the associated
                  							     //        symbol when the date has expired.
                  					initialLoadDelay: 0, // How many seconds to wait on a fresh start up.
                  							     // This is to prevent collision with all other modules also
                  							     // loading all at the same time. This only happens once,
                  							     // when the mirror first starts up.
                  					updateDelay: 5,      // How many seconds after midnight before a refresh
                  							     // This is to prevent collision with other
                  							     // modules refreshing at the same time.
                  					currentMonthOnly: false,  // will show birthdays for the current month only if true
                  					maxEntries: 10,	     // maximum entries to show, default is all
                  					dateFormat: '',	     // date format for birthday (default is none), could be 'Do' for 'Sep 12th'
                  					ageFormat:'',	     // some format string for the persons age, '[ n ]'  n will be replace by age value
                  					debug:false
                                  }
                  }
                  

                  and I see 5 entries
                  I added the time to the screen shot to show its new
                  Screenshot at 2023-12-29 12-18-15.png

                  can u paste your exact config?

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  M 1 Reply Last reply Dec 29, 2023, 6:34 PM Reply Quote 0
                  • M Offline
                    MyMirror @sdetweil
                    last edited by Dec 29, 2023, 6:34 PM

                    @sdetweil

                    Sure …

                            {
                                    module: "birthdaylist",
                                    position:'top_left',
                                    header:"Geburtstage",
                                    config: {
                                    language: "de",
                                    dimmEntries: false,             // true: dims entries and the associated
                                                                    //       symbol when the date has expired.
                                                                    // false: dont display entries and the associated
                                                                    //        symbol when the date has expired.
                                    initialLoadDelay: 10,           // How many seconds to wait on a fresh start up.
                                                                    // This is to prevent collision with all other modules also
                                                                    // loading all at the same time. This only happens once,
                                                                    // when the mirror first starts up.
                                    updateDelay: 5,                 // How many seconds after midnight before a refresh
                                                                    // This is to prevent collision with other
                                                                    // modules refreshing at the same time.
                                    currentMonthOnly: false,        // will show birthdays for the current month only if true
                                    maxEntries: 10,                 // maximum entries to show, default is all
                                    dateFormat: '',                 // date format for birthday (default is none), could be 'Do' for 'Sep 12th'
                                    ageFormat:'',                   // some format string for the persons age, '[ n ]'  n will be replace by age value
                                    debug:false
                                    }
                            },
                    
                    10 maxEntries just for the test, if this works, i would go to 4.
                    On my screen I get this:
                    ![screenshot](https://my.hidrive.com/lnk/CBHojVsL)
                    So ... only 3 entries and i took your example
                    
                    BR
                    Jens
                    S 1 Reply Last reply Dec 29, 2023, 6:38 PM Reply Quote 0
                    • S Offline
                      sdetweil @MyMirror
                      last edited by Dec 29, 2023, 6:38 PM

                      @MyMirror you have to use the 3rd icon from the right above the editor to include images

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      M 1 Reply Last reply Dec 29, 2023, 6:39 PM Reply Quote 0
                      • M Offline
                        MyMirror @sdetweil
                        last edited by MyMirror Dec 29, 2023, 6:41 PM Dec 29, 2023, 6:39 PM

                        @sdetweil
                        Sorry :flushed_face:Birthday_screenshot_2.jpg

                        S 2 Replies Last reply Dec 29, 2023, 6:41 PM Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 1 / 5
                        1 / 5
                        • First post
                          7/41
                          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