Read the statement by Michael Teeuw here.
Update says to "commit your changes or stash them before you can merge." ?
-
@Richard238 said in Update says to “commit your changes or stash them before you can merge.” ?:
Lost and confused already.
How much of calendar.js needs to be copied to config,js?
Thanks
About this much…
{ module: 'calendar', header: 'My Family Home Calendar', position: 'top_right', config: { maximumEntries: 13, maximumNumberOfDays: 365, maxTitleLength: 25, animationSpeed: 0, fadePoint: 3, timeFormat: 'absolute', urgency: 7, getRelative: 0, calendars: [ { symbol: 'calendar-check-o ', url: 'webcal://www.calendarlabs.com/templates/ical/UK-Holidays.ics' }, { symbol: `calendar-check-o `, url: "https://calendar.google.com/calendar/ical/mydetails.co.uk/private-mydetails/basic.ics" }, ] } }, { module: 'compliments',
-
Ok, these are done and no longer an issue, hurrah!:grinning:
css/main.css modules/default/compliments/compliments.js modules/default/newsfeed/newsfeed.js modules/default/weatherforecast/weatherforecast.js
Can’t get
modules/default/calendar/calendar.js
into config.js though.
module: 'calendar', header: 'Calendar', position: 'top_left', config: { maximumEntries: 8, // Total Maximum Entries maximumNumberOfDays: 365, displaySymbol: true, defaultSymbol: "calendar", // Fontawesome Symbol see http://fontawesome.io/cheatsheet/ displayRepeatingCountTitle: false, defaultRepeatingCountTitle: "", maxTitleLength: 25, fetchInterval: 5 * 60 * 1000, // Update every 5 minutes. animationSpeed: 2000, fade: true, urgency: 0, timeFormat: "absolute", dateFormat: "ddd Do MMMM", getRelative: 2, fadePoint: 0.25, // Start on 1/4th of the list. hidePrivate: false, calendars: [ { symbol: 'calendar-check-o ', url: 'https://calendar.google.com/calendar/ical/PRIVATE_KEY/basic.ics' } ] } }, { module: 'calendar', header: 'Binday', position: 'bottom_left', config: { maximumEntries: 8, // Total Maximum Entries maximumNumberOfDays: 365, displaySymbol: true, defaultSymbol: "calendar", // Fontawesome Symbol see http://fontawesome.io/cheatsheet/ displayRepeatingCountTitle: false, defaultRepeatingCountTitle: "", maxTitleLength: 25, fetchInterval: 5 * 60 * 1000, // Update every 5 minutes. animationSpeed: 2000, fade: true, urgency: 0, timeFormat: "absolute", dateFormat: "ddd Do MMMM", getRelative: 2, fadePoint: 0.25, // Start on 1/4th of the list. hidePrivate: false, calendars: [ { symbol: 'pagelines ', url: 'https://calendar.google.com/calendar/ical/PRIVATE_KEY/basic.ics' } ] titleReplace: { // "'s birthday": "", // "Recycling": "Bins", "Red Bin": "Red and Black Bins", "Green Bin": "Green and Black Bins" } } },
What have I missed?!
Thanks.
-
At least there is a single comma missing after the closing ] of your calendars entry
-
@yawns Brilliant! A comma after each of the ] seems to have fixed it.
Thank you.
-
module: 'calendar', header: 'Calendar', module: 'calendar', header: 'Binday',
With two calendars, how do I get different icons / icon colours again in custom.css?
.calendar .fa.fa-calendar-check-o { color: #00d2FF /* 55=Green FF=Blue*/ } .calendar .fa.fa-trash-o { color: #C97F7F; /* Brown */ }
-
@Richard238 you can use the module identifier for it as it is unique
#module_7_calendar .fa.fa-calendar-check-o { } #module_8_calendar .fa.fa-calendar-check-o { }
the number is the index of the entry in your config starting at 0
e.g.
modules: [ {module: "A", position: "top_right"}, //index: 0 {module: "B", position: "top_right"}, //index: 1 {module: "calendar", position: "top_right"}, //index: 2 ... ]
-
Ok, like this?
modules: [ { module: 'alert', # Module 0 }, { module: "MMM-MyTemps", # Module 1 header: "Home Sensors", position: "bottom_right", config: { host: "192.168.1.41", path: "/temp2mcf.php?format=json", reloadInterval: 2 * 1000 //2 seconds } }, { module: "updatenotification", # Module 2 position: "top_bar" }, { module: 'clock', # Module 3 position: 'top_left' }, { module: 'calendar', # Module 4
. … …And second calendar = # Module 5
making the custom.css look like this:#module_4_calendar .fa.fa-calendar-check-o { color: #00d2FF /* 55=Green FF=Blue*/ } #module_5_calendar .fa.fa-trash-o { color: #C97F7F; /* Brown */ }
-
@Richard238 yes this should colorize the calendar icon
fa-calendar-check-o
in your first instance andfa-trash-o
in your second. -
This post is deleted! -
@Richard238 check the part between calendar and compliments module