Hello All,
I want to use bugzilla for Issue Tracking rather than Bug Tracking. So we
thought of customizing bugzilla.
These are the Fields I want to remove from the page ( Version ,Resolution,
HardWare and OS )
I am able to remove/comment the code in
C:\Bugzilla\data\template\template\en\default\search\form.html.tmpl
#$output .= $context->process('select', { 'sel' => { 'name' =>
'resolution', 'size' => 7, 'accesskey' => 'r' } });
$output .= "\n </tr>\n </table>\n </td>\n <td>\n
<table>\n <tr>\n <th align=\"left\">S<u>e</u>verity:</th>\n
</tr>\n <tr valign=\"top\">";
#line 586 "template\en\default\search\form.html.tmpl"
$output .= $context->process('select', { 'sel' => { 'name' =>
'bug_severity', 'size' => 7, 'accesskey' => 'e' } });
$output .= "\n </tr>\n </table>\n </td>\n <td>\n
<table>\n <tr>\n <th align=\"left\">Pr<u>i</u>ority:</th>\n
</tr>\n <tr valign=\"top\">";
#line 599 "template\en\default\search\form.html.tmpl"
$output .= $context->process('select', { 'sel' => { 'name' =>
'priority', 'size' => 7, 'accesskey' => 'i' } });
$output .= "\n </tr>\n </table>\n </td>\n <td>\n
<table>\n <tr>\n <th align=\"left\"> </th>\n </tr>\n
<tr valign=\"top\">";
#line 612 "template\en\default\search\form.html.tmpl"
#$output .= $context->process('select', { 'sel' => { 'name' =>
'rep_platform', 'size' => 7, 'accesskey' => 'h' } });
$output .= "\n </tr>\n </table>\n </td>\n <td>\n
<table>\n <tr>\n <th align=\"left\"> </th>\n </tr>\n
<tr valign=\"top\">";
#line 625 "template\en\default\search\form.html.tmpl"
#$output .= $context->process('select', { 'sel' => { 'name' =>
'op_sys', 'size' => 7, 'accesskey' => 'o' } });
$output .= "\n </tr>\n </table>\n </td>\n
</tr>\n</table>\n\n<p>\n\n";
$output .= "\n\n<table>\n <tr>\n <td>\n <fieldset>\n
<legend>\n <strong>\n Email and Numbering\n
</strong>\n </legend>\n\n\n<table>\n <tr>";
C:\Bugzilla\data\template\template\en\default\bug\create\create.html.tmpl
#$output .= "\n </select>\n </td>\n </tr>\n\n <tr>\n
<td> </td>\n <td colspan=\"3\"></td>\n </tr>\n\n <tr>";
#line 149 "template\en\default\bug\create\create.html.tmpl"
#$stash->set('sel', { 'description' => 'Platform', 'name' =>
'rep_platform' });
#line 149 "template\en\default\bug\create\create.html.tmpl"
# $output .= $context->include('select');
$output .= "\n";
#line 152 "template\en\default\bug\create\create.html.tmpl"
# $stash->set('sel', { 'description' => 'OS', 'name' => 'op_sys' });
#line 152 "template\en\default\bug\create\create.html.tmpl"
# $output .= $context->include('select');
But when I try to enter a bug, getting error like OS has not set /Version
is not set /Platform is not set....
Can any one tell me what are the other places I have to modify these files
so that It won't check for OS/Version/Platform
Thanks in Advance,
Vijay.
_______________________________________________
mozilla-webtools mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-webtools