Hi! First of all let me congratulate you on your module. I've been using it for a while and find it really nice with the most important features implemented.
I'm currently working on a heavily themed site and wanted to theme the list of tickets you see in the /support/[client] and /support/user/[uid] pages. Unfortunately you use theme_table() to output the ticket listings. Although there is a lot you can do with CSS to theme the listing there are some things which you just can't do, for example, change the order of the columns or simply remove a column. To be able to correct this I've patched the module so that it implements hook_theme() and the developer can provide a template if the default doesn't suite him.
I'll attach the patch in the next comment so that I have an issue number.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | screenshot-652428.png | 35.52 KB | cesarmiquel |
| #1 | support-652428.patch | 1.88 KB | cesarmiquel |
Comments
Comment #1
cesarmiquel commentedHere's the patch. To test it you will need to clear Drupal's cache. In your theme directory you can create a file called support-page.tpl.php and/or support-page-user.tpl.php. You can put something like this in it to see that its working:
Comment #2
cesarmiquel commentedJust so I can show off what you can do with this I'm including a screenshot from the site I'm working on ;-).
Comment #3
jeremy commentedLooks great, thanks!
I think your patch was generated against an older version of the support module as it didn't apply cleanly. I fixed the rejects and applied the resulting patch.
Your patch is applied here:
http://drupal.org/cvs?commit=298886
And the necessary update to the install file to flush the cache:
http://drupal.org/cvs?commit=298888