I'd like to have a screen in the event module that would search for all nodes matching a particular taxonomy term, but sorting them based on the start time given in the event module. For those nodes that aren't events, they would be sorted in the normal order, but following the events.

Use case: When making travel arrangements (it seems lately I travel a *lot*), I post each item of my itinerary to a private Drupal site as events. I create a taxonomy term for each separate trip. Just before leaving, I go to the site, call up the taxonomy_menu display for the upcoming trip, and print off the list of details for that trip, and carry that printout with me.

This is already a very useful trick, but it would be even nicer if it would give me that list in the order in which the events occur.

Extra bonus points: It would be really cool if this printout came with <h1> or similar strong headers for each separate day in the trip.

CommentFileSizeAuthor
#1 event.module-taxonomy.patch4.45 KBjoemc91

Comments

joemc91’s picture

StatusFileSize
new4.45 KB

Here's what I came up with. All it does is support different calendars based upon the terms under the Calendar taxonomy. These terms may NOT be nested under one another, they must be flat, I.E. their parent is the vocabulary. I've attached a patch, who knows how well it'll work. BTW, I moved the drupal_set_html_head because it wasn't linking the style sheet, but now it does :). Hope you enjoy

joemc91’s picture

Forgot to add. To see an example of how this works, visit http://forums.ahpnational.org.

japerry’s picture

Status: Active » Closed (outdated)

Event for Drupal 8 is unrelated to older versions. If an issue similar to this one exists, please open a new issue with the 8.x branch.