Grayside.Org

Home

Casetracker with Subtasks

grayside — Mon, 11/30/2009 - 16:09

The Case Tracker project provides a fairly straightforward issue tracker. In the future it will provide more functionality, but for now certain types of customizations are left to the end user. This post describes an attached module that provides a simple up/down relationship to Cases using CCK.

The previous code snippets have been removed because I packaged this up in a formal module. Download link at the bottom.

Requirements

You need CCK's Content & Node Reference modules enabled. You need to create a Node Reference field named field_casetracker_parent_case, and should set the Display to Excluded.

Features

  • Themes Case display to include subcases and parent cases.
  • Modifies breadcrumbs to include up to three levels of parent cases, followed by an elipsis.

Notes

The Project ID is excluded for listings of subtasks to avoid excessive node_loads or adding a third join to the backreferences query.
The Case Tracker views that list your cases do not include the parent or subcases. Visit the Views UI and modify them as needed.

Todos

It is unlikely I will revisit this, however:
1. Implement hook_views_default_views_alter() to modify casetracker views to include case hierarchy information.
2. Create a Nodereference export for this module to install, skipping the required manual creation of a field.
3. Maybe some configuration stuff.

Attachment: 
application/x-gtar icon
Case Tracker with Subcases
  • casetracker
  • customize
  • drupal
  • subtask
  • Add new comment

Similar Posts

  • Atrium Casetracker: Change Which Case Statuses are "Closed"
  • CCK Fields and the Open Atrium Node Form
  • Prepopulating Casetracker
  • Overriding Prepopulate: Do Not Use hook_form_FORM_ID_alter
  • Freelinking 3: Forging Ahead

Monthly archive

  • March 2010 (4)
  • February 2010 (2)
  • November 2009 (7)
  • October 2009 (1)
  • September 2009 (5)
  • August 2009 (1)
  • July 2009 (1)

Feeds

Syndicate contentHeadlines

casetracker cck drupal fields FL3 freelinking how-to module node-form openatrium permissions plugin
<all>

© 2009 grayside.org ♠ Glossary ♠ Powered by Drupal ♠ Floating on Archlinux