Closed Bug 292245 Opened 20 years ago Closed 20 years ago

Associating a customised format with a product URL

Categories

(Bugzilla :: Documentation, defect)

2.19.2
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mario, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414

This is probably a straightforward: I followed the documentation and created my
own format. I can do
http://BugzillaURL/enter_bug.cgi?product=MyProduct&format=Myformat
and it appears as I intended it. However when you do:
http://BugzillaURL/enter_bug.cgi
and click on MyProduct this takes you to:
http://BugzillaURL/enter_bug.cgi?product=MyProduct
the format does not bind with the Myformat. How is this done? I cannot find
out how to do it in the documentation. It must be possible without hacking at
the code? It would be good if a couple of words could be added at the end of the
bugzilla/docs/html/cust-templates.html documentation page. In the meantime what
is the required bit of magic? Many thanks in advance.

Reproducible: Always
That's the default template, so you'd need to edit the default template.

This isn't a support forum, though -- for support resources, see
http://www.bugzilla.org/support/

Are there not currently documentation notes that explain that if you just go to
enter_bug.cgi, you are of course looking at the default template and not your
custom one?
OS: Windows XP → All
Hardware: PC → All
Version: unspecified → 2.19.2
Thanks for this. I understand what you are saying. I thought that it
might have been able to associate a customised bug entry form on a per
product basis within a given installation of bugzilla: that is to
automatically add a "&format=MyFormat1" or MyFormat2, Myformat3, ... etc
at the end of the URL in the buge_entry.cgi depending on the product. I
think this would be a nice feature for products that require different
levels of input. Looks like this is not possible in the current
infrastructure. I may be able to put a hack in. Thanks for the answer
though,

                        Mario

Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.