The BoF tool commit was missing the room and time slot Views that can be used with Nodequeue for awesome ordering.

Comments

coltrane’s picture

Status: Active » Needs review
StatusFileSize
new19.45 KB
ezra-g’s picture

Should this patch include code for integrating the order from these exported views into the rendering of the schedule?

coltrane’s picture

cod_session.module has that integration code. cod_session_day_slots() and _cod_session_schedule_rooms() check for these Views and if they don't load the functions run their own queries.

ezra-g’s picture

Status: Needs review » Needs work

This patch no longer applies.

I'm going to do some testing on other pre-beta issues and look into re-rolling this afterwards.

ezra-g’s picture

Status: Needs work » Needs review
StatusFileSize
new9.86 KB

Here's a re-roll that removes most unrelated changes and applies to the latest cod_support.

coltrane’s picture

Status: Needs review » Reviewed & tested by the community

Looks good and installed correctly.

coltrane’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new12.16 KB

Found that cod_session_day_slots() wasn't using the View unless a Nodequeue was set (not by default) so modified it and the preprocess function to always use the time slot view.

ezra-g’s picture

Status: Needs review » Fixed

I tested by altering the sort order of rooms in a simple schedule with 2 rooms and 2 sessions. This seems to work great - Thanks, coltrane!

http://drupalcode.org/project/cod_support.git/commit/d897b6e

ezra-g’s picture

Category: task » feature

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.