Beginning on October 25th, 2016, Persona will no longer be an option for authentication on BMO. For more details see Persona Deprecated.
Last Comment Bug 562551 - Template Hooks cannot be utilized without code ( extensions existing
: Template Hooks cannot be utilized without code ( exten...
Product: Bugzilla
Classification: Server Software
Component: Extensions (show other bugs)
: 3.6
: All All
: -- normal (vote)
: Bugzilla 3.6
Assigned To: Max Kanat-Alexander
: default-qa
Depends on:
  Show dependency treegraph
Reported: 2010-04-28 20:36 PDT by Nicholas Herring
Modified: 2010-05-05 19:16 PDT (History)
2 users (show)
mkanat: approval+
mkanat: blocking3.6.1+
See Also:
QA Whiteboard:
Iteration: ---
Points: ---

v1 (679 bytes, patch)
2010-04-28 21:04 PDT, Max Kanat-Alexander
mkanat: review+
Details | Diff | Splinter Review

Description Nicholas Herring 2010-04-28 20:36:28 PDT
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/ Safari/532.5
Build Identifier: 3.6

I tried to extend a template using the comments-aftercomments hook with the following location:


This would not work unless I used extensions/

Reproducible: Always

Steps to Reproduce:
Within bugzilla root:

1.mkdir -p extensions/TestMe/template/en/default/hook/bug/
2.nano extensions/TestMe/template/en/default/hook/bug/comments-aftercomments.html.tmpl
3.enter <h1>Test Me</h1>
Actual Results:  
No effect.

Expected Results:  
Heading 1 text after bug comments with the words "Test Me"

This will work if I copy the same file into the template folder of an extension created using extension/

I am assuming it is intended to allow creation of template hook files without the need for any special setup.
Comment 1 Max Kanat-Alexander 2010-04-28 21:04:45 PDT
Created attachment 442304 [details] [diff] [review]

Okay, this fixes it.
Comment 2 Max Kanat-Alexander 2010-05-05 19:16:13 PDT
Committing to: bzr+ssh://
modified Bugzilla/Install/
Committed revision 7146.

Committing to: bzr+ssh://
modified Bugzilla/Install/
Committed revision 7092.

Note You need to log in before you can comment on or make changes to this bug.