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.

    Family Info Board

    Scheduled Pinned Locked Moved Showcase
    40 Posts 19 Posters 54.9k Views 33 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.
    • W Offline
      Wedee
      last edited by

      No need to duplicate the module, in the config.js just repeat the module config but point to the second calendar settings.

      1 Reply Last reply Reply Quote 0
      • yawnsY Offline
        yawns Moderator
        last edited by

        You have two possibilities with the calendar module.

        Option 1:

        This shows one block and mixes both calendars, sorted by date

        modules: [
        	{
        		module: 'calendar',
        		header: 'both calendars'
        		position: 'top_left',
        		config: {
        			calendars: [
        				{
        				url: 'http://www.whatever.....xx.ics',
        				symbol: 'calendar',
        				},
        				{
        				url: 'http://www.justanother....zz.ics',
        				symbol: 'calendar',
        				}
        			],
        		}
        	}
        ]
        

        Option 2:

        This show calendar1 sorted by date and then shows calendar2 sorted by date, but in a seperate block with a seperate header

        modules: [
        	{
        		module: 'calendar',
        		header: 'calendar1'
        		position: 'top_left',
        		config: {
        			calendars: [
        				{
        				url: 'http://www.whatever.....xx.ics',
        				symbol: 'calendar',
        				}
        			],
        		}
        	},
        	{
        		module: 'calendar',
        		header: 'calendar2'
        		position: 'top_left',
        		config: {
        			calendars: [
        				{
        				url: 'http://www.justanother....zz.ics',
        				symbol: 'calendar',
        				}
        			],
        		}
        	}	
        ]
        
        JohanbaJ 1 Reply Last reply Reply Quote 3
        • O Offline
          Orca
          last edited by

          THX, that did the trick.

          1 Reply Last reply Reply Quote 0
          • D Offline
            dsegel
            last edited by

            Another request for you to post your css for calendar_monthly…I’m not having much luck getting it formatted widely enough.

            1 Reply Last reply Reply Quote 2
            • E Offline
              emos
              last edited by

              Very clean.

              Can i ask, how did you manage to create horizontal lines for all the modules?

              Thanks

              W 1 Reply Last reply Reply Quote 0
              • W Offline
                Wedee @emos
                last edited by

                @emos I believe its just a function of my CSS forcing column widths (width: xxxpx;). As the headers of the module are usually set to “float” the forcing of a width makes them span the entire column.

                I have not touched the mirror in about a year - it just runs.

                E 1 Reply Last reply Reply Quote 0
                • E Offline
                  emos @Wedee
                  last edited by

                  @Wedee Thank you for your reply.
                  Do you mind sharing your main.css and custom.css with us? It looks too damn good ;)

                  W G 2 Replies Last reply Reply Quote 0
                  • W Offline
                    Wedee @emos
                    last edited by

                    @emos Shoot me a PM with your email and I will add you to the dropbox share i have of the files.

                    I 1 Reply Last reply Reply Quote 0
                    • I Offline
                      IndyMac @Wedee
                      last edited by

                      @wedee I like your design. I’m just getting started on my MagicMirror. Do you mind adding me to the Dropbox share? Thanks!

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        Galm @emos
                        last edited by

                        @Wedee : Hello Wedee -> i send you a PM with my email address. Would it be possible for you to share your main.css and custum.css? thanks a lot

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