From 553a7c9e9b2faae664afb80a7940b2437f05222b Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" Date: Tue, 28 Dec 2004 21:51:59 +0000 Subject: [PATCH] Documentation patch for bug 274220: Provide additional documentation about creating custom templates; patch by Shane H. W. Travis , r=vladd. git-svn-id: svn://10.0.0.236/trunk@167071 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/docs/xml/customization.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mozilla/webtools/bugzilla/docs/xml/customization.xml b/mozilla/webtools/bugzilla/docs/xml/customization.xml index 36668892ffb..14ac3f86a60 100644 --- a/mozilla/webtools/bugzilla/docs/xml/customization.xml +++ b/mozilla/webtools/bugzilla/docs/xml/customization.xml @@ -337,6 +337,12 @@ extensible fashion to enable you to add arbitrary HTML widgets, such as drop-down lists or textboxes, to the bug entry page and have their values appear formatted in the initial comment. + A hidden field that indicates the format should be added inside + the form in order to make the template functional. Its value should + be the suffix of the template filename. For example, if the file + is called create-cust.html.tmpl, then + <input type="hidden" name="format" value="cust"> + should be used inside the form.