Read the statement by Michael Teeuw here.
MMM-CalendarExt2 CSS question. Is there anyway to get daily view to look like week view??
-
I’m guessing this is a CSS issue. I am trying to get my daily view to be horizontal instead of vertical. I like that the daily view rotates around to always have the current day first. Week view doesn’t do this or I can’t get it to do this.
It’s more of a painful inconvenience than anything else. I like to see what is coming a few days in advance and the week view doesn’t roll over until the week is done. I know I could use the upcoming views but it again has the same issue. It only goes vertical, not horizontal.
Any help would be great.
-
worked it out
for anyone that wants to do the same. open the CalendarExt2.js and scroll down until you see this
views: { daily: { slotSubTitleFormat: "MMMM Do", slotTitleFormat: { sameDay: '[Today]', nextDay: '[Tomorrow]', nextWeek: 'dddd', lastDay: '[Yesterday]', lastWeek: '[Last] ddd', sameElse: 'ddd, M/D' }, type: "column", },
change type: “column”, to type: “row”, and problem solved. Might need to do a little bit of css editing to get things to fit but it works for now.
-
@wolfieeewolf you should be able to set the type in the view object u create in config.js. without changing any code
-
@wolfieeewolf
Use this code in your module config, not modifying the source. -
@sdetweil thanks for that. I didn’t even think of adding it to config.js. I was so busy trying to change it in the custom.css file that I total forgot you can do it in there as well.
I changed everything back and it works great. It’s a little squashed up so I’m now trying to make it into 2 rows. Not sure how to tackle that one yet.