weekly lessons schedule Office_hours field not exposed for sorting in view
whysee77 - August 24, 2008 - 16:49
| Project: | Office Hours |
| Version: | 6.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hello
I trying to create a view showing lessons planning in different places by day of week
these days and hours are fixed for the year
maybe it's called a weekly schedule ?
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

#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?