Yesterday we had some problems with our external internet connection, so I couldn't post or read people's postings. So I 'm posting now (first thing in the morning) and by the end of the day I'll probably post again.
Stuff from Jan 21:
- Updated installation instructions and notes
- Updated code package (cal_dev.zip)
- Updated screenshots (see below)
Picture 1: Again, the sideblocks for the month view and upcoming events.Points of interest:
- I 've changed the colors a bit, the old ones were "development colors". The color on Jan 20 - 22 is the "user event" color (least significant), Jan 25 is the "course event" color (stands out) and the light green (not very intrusive but stands out A LOT) is for site-wide events. These would normally be rare, of course.
- There are separators between upcoming events.
- Notice that "January 2004" is hyperlinked. This will take you to the main calendar page, in the full month view. (I 've done no work on it yet, though).
- The same goes for the days, which are also hyperlinked. This will take you to a detailed 'day view'.
- Notice on Jan 23 and 28 the lines above and below the day? These denote that an event of a certain type (e.g. pale green for sitewide event) that has already started is continuing. You can deduce from the display, for example, that there is a sitewide event which starts on Jan 27 and ends on Jan 28.
- I 've made "Expired" events stand out more (expire in bold red letters)
- The upcoming events block now states the duration of events, if they have one (2nd, 4th, and 5th events in the screenshot). Notice the different way the duration is displayed in the 4th and 5th events. This is because the 4th ends the same day it starts, while the 5th does not.
- The 4th event has the modulename, instance, and courseid fields set in the database. This means that an activity module set it, so its icon is displayed before the event name (this is an Assignment).
- The Description field is no longer displayed. We just use Name (it's shorter).
Picture 2: A new screen, the "My Calendar" page. This is where you do anything regarding your calendar from. Points of interest:
- Mini display of previous, this, next month on top. Notice the tooltip which says "1 event". When taking the screenshot, I was hovering the "27" link with the mouse. So, hovering a link shows you how many events for that day. This is also true for the sideblock.
- Expanded Upcoming Events view. This also shows the Description field for events.
- In this screen, you see events from ALL courses you take part in (either as student or teacher). So, before the 4th event, you can see that we also display which course it concerns. The name is also hyperlinked for the user's convenience.
- The last visible event is sitewide. So the "Moodlesite" hyperlink takes you to the index page.
Martin:
I hope that something like the expanded event view in picture #2 is what you had in mind for the "MyMoodle" page. It's very easy to reproduce this part of the display in MyMoodle, just include calendar/lib.php and call a couple of functions. Am I going in a direction you like?