summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-12-29 06:51:27 +0100
committerjocuri%softhome.net <>2004-12-29 06:51:27 +0100
commit3b8318a1a38c6b6c652e560139788e0ca22351e0 (patch)
treec4662924b33c18990ba9d1ee38f831a59ea87f98 /docs
parentba8dc6e806a43354e443a86abed702098d43807f (diff)
downloadbugzilla-3b8318a1a38c6b6c652e560139788e0ca22351e0.tar.gz
bugzilla-3b8318a1a38c6b6c652e560139788e0ca22351e0.tar.xz
Documentation patch for bug 274220: Provide additional documentation about creating custom templates; patch by Shane H. W. Travis <travis@sedsystems.ca>, r=vladd.
Diffstat (limited to 'docs')
-rw-r--r--docs/xml/customization.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/xml/customization.xml b/docs/xml/customization.xml
index 36668892f..14ac3f86a 100644
--- a/docs/xml/customization.xml
+++ b/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 <filename>create-cust.html.tmpl</filename>, then
+ <programlisting>&lt;input type="hidden" name="format" value="cust"&gt;</programlisting>
+ should be used inside the form.
</para>
<para>