Drupal7 Views: Grouping by Date Over a Range - view

Creating a view of events over time. Some events are one day events - some stretch over multiple days. Some are repeating events. What I would like to do is create a view that shows all the events for day 1, then for day 2, and so on.
For example:
Event 1 - happens every Monday in May
Event 2 - happens the first full week of May - 5/5-5/11
Event 3 - happens Tuesday May 7th
So the View would show:
Monday, May 6th
- Event 1
- Event 2
Tuesday May 7th
- Event 2
- Event 3
Wednesday May 8th
- Event 2
And so on. Any suggestion on how can I group to create this? Or do I need to alter the file?

Use Drupal Calendar: http://drupal.org/project/calendar
It automatically creates views in days, weeks, months, etc.

Related

DHTMLX Scheduler recurring year events - Problems with rec_type

I'm trying to add a recurring event in my Database using dhtmlx scheduler. I'm using a full customized Lightbox with my own fields. Daily, weekly and monthly Events will be added perfectly to the database. Maybe i overlooked something
I've tried to save the exact rec_type like the monthly event, because they are using the nearly the same template, there is only one difference between them. I changed "month" into "year".
At the end, my entry looks like this:
{
end_date: "09.06.2026 12:00"
id: "a97ede9d-372f-4360-9fdb-e97e26aaacf8"
rec_type: "year_5_4_1#09/06/2026"
start_date: "05.09.2019 12:00"
text: "test12345"
}
I expect the output of all events on the first thursday in may until 2026. Maybe you can help me to find out, where the error is.
If recurring events start in May, the start_date also must contain May. I.e.
start_date: "05.05.2020 12:00"
The client side gets data from the rec_type field as a string of the following format:
[type]_[count]_[day]_[count2]_[days]#[extra]
where:
type - the type of repetition: 'day','week','month','year'.
count - the interval between events in the "type" units.
day and count2 - define a day of a month ( first Monday, third Friday, etc ).
days - a comma-separated list of affected week days.
extra - extra info that can be used to change the presentation of recurring details.
So, rec_type for each first Thursday in May must be:
rec_type: "year_1_4_1_"
Demo to check how it works.
If you need more details about rec_type property, please find them in docs.

Range aggregation on date_range field

I have a set of documents with date range. I want to get schedule with in specific duration.
For example, following are 2 events.
1. Event 1 - from 10th to 20th
2. Event 2 - from 15th to 25th
Get schedule from 1st to 30th. Expecting following output.
1. Date 10th to 14th - Event 1
2. Date 15th to 20th - Event 1 and Event 2
3. Date 21st to 25th - Event 2
Please suggest how can i achieve this.
you can use the range datatypes to support this. See this introduction blog post

dhtmlx scheduler custom timeline

Currently i'm working on a project where i need to use dhtmlxSchedular whats new to me.
i'm struggling to change the timeline header view. For example this timeline: http://docs.dhtmlx.com/scheduler/samples/06_timeline/08_time_scale.html
Here you can see a timeline with a second time scale for one day
timescale 1: minutes
timescale 2: hours
What i want is a view for a week and one day has 10 hours. For example
Monday 12 dec till Sunday 18 dec
Where every day has 10 cells from 00:00 till 10:00.
So shortly saying, one day consists of 10 hours to be planned.
Is this possible with scheduler timeline.
Yes, it is possible. To hide hours in the scale you need to use scheduler.ignore_timeline property.
More info how to change the default time interval
Demo with Timeline scale you want to implement

How to get nested floating grouprows in a NSTableView?

At the moment I have a NSTableView with floating grouprows enabled. What I want to create are nested group rows. By nested I mean the following:
Month 1
week 1
day 1
day 2
week 2
day 1
day 2
Month 2
week 1
day 1
day 2
week 2
day 1
day 2
When you scroll though the view I want is that the Month group view stays at the top of the view until the next month comes along. Meanwhile the week group views stays under the month group view until the next week comes along. The day are normal cells that flow under the month and week group rows.
Have you tried the floatsGroupRows boolean? Read more about that at the Apple Developer page

Full Calendar weekly Mode

I am trying to build an application that displays a weekly Monday to Friday school schedule. I've decided to use the JQuery plugin fullcalendar. After looking through many options, I cannot find a way to display a weekly mode rather than actual days of the year. Agenda mode displays a given week of the year. This includes dates which I don't want.
I want events to begin on Friday at 2:00pm not April 5 at 2:00pm
Is there way to do this using the fullcalendar API?
Take a look at the columnFormat option. http://arshaw.com/fullcalendar/docs/text/columnFormat/
columnFormat: {
month: 'ddd',
week: 'ddd',
day: 'dddd M/d'
}
Let me know if this helps.

Resources