Closed (fixed)
Project:
Support Ticketing System
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Nov 2009 at 09:24 UTC
Updated:
13 Dec 2009 at 22:40 UTC
As someone who has an interest in extending and modifying this module for other purposes, it would be great to have a "hook_support" to let other modules modify what Support does. At the very least, using "drupal_alter" on data structures at key points would be helpful. The ticket listing pages Support generates, in particular, would be nice to modify. (I suppose another way to go might be to implement them as Views instead of custom pages.)
Comments
Comment #1
jeremy commentedOkay, patch committed:
http://drupal.org/cvs?commit=294166
There was already one drupal_alter call, I've added 4 new ones with the above commit. They are as follows:
Grep the code for drupal_alter to learn more.
Ideally some of these functions should probably be combined so you don't have to alter in multiple places, but that's a bigger effort.
Feel free to request additional hooks as you extend this module.
Comment #2
jeremy commentedBTW: I just spotted your Support Deadline module. Please ping me if you create any other support modules so I can link to your projects from the main support project page.
Adding a link to Support Deadline now:
http://drupal.org/project/support_deadline
Comment #3
gengel commentedAwesome, thanks!