help on update of bug !!

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
PHPycho
Posts: 13
Joined: 16 Mar 2007, 10:31

help on update of bug !!

Post by PHPycho »

Hello forums !!
I need your help.
i added two new fields on "mantis_bug_text_table"
say field1 and field2.
I successfully displayed the values by using "core/bug_api.php"
(inserting

Code: Select all

var $field1 = ''; var $field2 = ''
) and bug_view_advanced_page.php (using

Code: Select all

$t_bug->field1 & $t_bug->field2
variables)

Now i am getting problem in inserting and updating, I need to what the required steps ???
Thanks in advance to all of you
deboutv
Posts: 507
Joined: 15 Jan 2007, 14:31
Location: La Ciotat, FRANCE
Contact:

Post by deboutv »

Hi,

You need to update the SQL queries in the core/bug_api.php file.

PS: It is not a good idea to change the table (insert fields into the table). A better way to do that is to add a new table.
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/

Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
Post Reply