Could the timetable example be extended to support a conference schedule grid like northern voice

Events happening in the community are now at Drupal community events on www.drupal.org.
Roland Tanglao's picture

Could the cool timetable example be extended to support a conference schedule grid like northern voice's schedule grid? If so, any hints on how to do this would be appreciated. I'd like to try to doing this myself

Comments

Extending the timetable template

chelahmy's picture

It is similar to the timetable. Just need more work. Here are my hints:

1. Rename content type 'Time Table' to 'Schedule'. And replace fields 'day' to 'room'.

2. Rename content type 'Time Table Day' to 'Room'. In the timetable example the period is fixed. You may want to make it user-definable. I leave it you as an exercise :)

3. You may need to create 'Speaker' content type and 'Subject' content type. Make sure they have short name fields for display in the cell.

4. Extend the 'Room' content type to include links to the subject and speaker. This is similar to 'Schedule' content type that have room fields that point to 'Room' contents.

5. Registration, Coffee Break and Lunch; They span across rooms. You may want to hard code them in the table definition. Or, you can embed logical check: If adjacent cells are the same then join them into one.

Note: The only way to hide cck fields now is to theme the content type. I am extending dript module to include theming capability. It will require some database tables to store dript expressions. Some administrative pages for dript will be created as well.

great!

Roland Tanglao's picture

i'll ask questions here or over on lisp.rolandtanglao.com as i run into problems

CCK Patch

chelahmy's picture

I managed to patch CCK so that field can be made hidden. Thus we can skip theming the node to hide the fields. I'll submit the patch to the CCK project and see whether they're going to accept it. There is a feature request to hide the field but it seems that nobody in the team is taking the challenge yet.

CCK 1.3

chelahmy's picture

CCK version 1.3 has just released with feature to hide fields and more! I've tested it and it works as I wanted. In the release note it mentions that default value is now supported. I've yet to test it. If it does than dript will work better with CCK.

Lisp

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: