Closed (fixed)
Project:
Project issue tracking
Version:
6.x-1.x-dev
Component:
Issues
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
15 Apr 2009 at 17:09 UTC
Updated:
29 Apr 2009 at 22:10 UTC
Using $variables['template_files'] in issue_cockpit.inc's template_preprocess_project_issue_issue_cockpit() kind of breaks the automatic suggestions for themes. Since it gets a higher priority than what the theme engine finds in themes directories.
It's possible for theme's to define the preprocess and change that, but the patch attached makes this unnecessary.
| Comment | File | Size | Author |
|---|---|---|---|
| project_issue-template_path-01.patch | 1.15 KB | AmrMostafa |
Comments
Comment #1
AmrMostafa commentedComment #2
dwwSweet -- I didn't know you could do it that way. At the SF d.o redesign sprint when we were working on this, I asked folks the right way to do this and the hack of defining the variable in the preprocess function was suggested by josh_k (and not shot down by drumm and others). ;) Since it worked, I went with that. However, this approach is clearly superior. Tested and committed to HEAD. Thanks!