Posted by whysee77 on August 24, 2008 at 4:49pm
Jump to:
| Project: | Office Hours |
| Version: | 6.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I am trying to create a view showing a 'timetable' by day of week containing lessons planned in different places.
These days and hours are fixed for the year
maybe it's not the right way to do that, but I use views to select office hours
but i can't find the node office hours in the sort item of the view interface .. cause I want to group the result by day
so i can show all the lesson taking place on monday etc
have you planned to use this module with some presentation ones like calendar ?
is there a way to do that ?
thanx
Comments
#1
Views should be definitely the right way to do that. OOTB, it supports only the 'day' column- meaning you could filter by day=0, for instance (the says are numbered 0 to 6, starting with sunday). Better views support is very much in order here.
I haven't really thought of using it with a calendar. module example?
#2
thanx alot for your answer
Ok i'll gonna try to go with your trick
the exact term for what i'm trying to do is a timetable
is it the same for hours than for days, i mean access by an array ?
so maybe it's better to write php/sql code to group by day and get a duration-colored-band along the hours grid
i'm pretty newbie, so if you have example code for view or module doing such a selection i'll appreciate
tanx a lot
#3
ok i'm trying to create a view for my timetable
in filter i choose the officehours content
but with operator 'is equal to' i don't get significant result
any help?
#4
Not sure if this falls in the same category, but I would love to be able to create a calendar view that displays the hours in the correct days of the week.
So a node with a date and office hours CCK type could have the hours for each day and be able to display the specific hours based on the current or a future day (ie. What are your hours on Saturday?)
#5
Resumé: So creating a timetable could be done by one of the following methods:
- exposing office hours to the Calendar module;
- exposing a ´Sort´ to Views;