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

Family Info Board

Scheduled Pinned Locked Moved Showcase
40 Posts 19 Posters 50.8k 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.
  • O Offline
    Orca
    last edited by Mar 30, 2017, 8:34 AM

    @Wedee : How did you the trick with several calendars? Could you please share some infos for me?
    Thx

    L 1 Reply Last reply Mar 30, 2017, 8:57 AM Reply Quote 0
    • L Offline
      lucallmon @Orca
      last edited by Mar 30, 2017, 8:57 AM

      @Orca simply clone the module for the calendar and change the settings for login.

      1 Reply Last reply Reply Quote 0
      • O Offline
        Orca
        last edited by Mar 30, 2017, 2:21 PM

        @lucallmon: Can you give me a hint how to clone this module. I’ve copied the folder into …/modules and named it calendar1, but only black screen.
        Thx

        1 Reply Last reply Reply Quote 0
        • W Offline
          Wedee
          last edited by Mar 30, 2017, 2:25 PM

          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
          • Y Offline
            yawns Moderator
            last edited by Mar 30, 2017, 2:52 PM

            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',
            				}
            			],
            		}
            	}	
            ]
            
            J 1 Reply Last reply Sep 14, 2021, 11:49 AM Reply Quote 3
            • O Offline
              Orca
              last edited by Mar 30, 2017, 3:55 PM

              THX, that did the trick.

              1 Reply Last reply Reply Quote 0
              • D Offline
                dsegel
                last edited by Apr 30, 2017, 4:41 PM

                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 Apr 8, 2018, 6:32 PM

                  Very clean.

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

                  Thanks

                  W 1 Reply Last reply Apr 9, 2018, 1:34 AM Reply Quote 0
                  • W Offline
                    Wedee @emos
                    last edited by Apr 9, 2018, 1:34 AM

                    @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 Apr 9, 2018, 1:17 PM Reply Quote 0
                    • E Offline
                      emos @Wedee
                      last edited by Apr 9, 2018, 1:17 PM

                      @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 Apr 10, 2018, 11:45 PM 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