summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2008-04-04 13:47:56 +0200
committerjocuri%softhome.net <>2008-04-04 13:47:56 +0200
commit87a419ec7a92df284154409f2e88d68484a9311c (patch)
treecb0adc34f5085031c33b1801679380c0f983ce26
parenta12b373ad94ab6123bfc1669338aa75051d836f4 (diff)
downloadbugzilla-87a419ec7a92df284154409f2e88d68484a9311c.tar.gz
bugzilla-87a419ec7a92df284154409f2e88d68484a9311c.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.
-rw-r--r--docs/en/xml/customization.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/en/xml/customization.xml b/docs/en/xml/customization.xml
index 36668892f..14ac3f86a 100644
--- a/docs/en/xml/customization.xml
+++ b/docs/en/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>