From e341d454068cba760eab202f254354fcb9545222 Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" Date: Tue, 28 Dec 2004 21:51:27 +0000 Subject: [PATCH] Documentation patch for bug 274220: Provide additional documentation about creating custom templates; patch by Shane H. W. Travis , r=vladd. --- webtools/bugzilla/docs/xml/customization.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/webtools/bugzilla/docs/xml/customization.xml b/webtools/bugzilla/docs/xml/customization.xml index 36668892ffb9..14ac3f86a609 100644 --- a/webtools/bugzilla/docs/xml/customization.xml +++ b/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.