Family Info Board



  • @Wedee don’t want to be a wierdo but I fell in love with this I Just shot you a pm



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



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



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



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


  • Moderator

    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',
    				}
    			],
    		}
    	}	
    ]
    


  • THX, that did the trick.



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



  • Very clean.

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

    Thanks



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