Look here:
http://forums.mantisbt.org/viewtopic.php?t=786
Bye,
M@t
Search found 13 matches
- 21 Feb 2006, 09:10
- Forum: Customizations
- Topic: Datetime custom fields
- Replies: 2
- Views: 17926
- 17 Oct 2005, 08:19
- Forum: Customizations
- Topic: DATETIME custom Field type + Search on custom fields
- Replies: 24
- Views: 64935
- 17 Oct 2005, 08:12
- Forum: Customizations
- Topic: DATETIME custom Field type + Search on custom fields
- Replies: 24
- Views: 64935
- 17 Oct 2005, 07:40
- Forum: Customizations
- Topic: DATETIME custom Field type + Search on custom fields
- Replies: 24
- Views: 64935
You are right!
lol
the right function to modify is string_custom_field_value_for_email and not function print_custom_field_value
Sorry Cut&Paste error :)
look also here for some information
http://bugs.mantisbt.org/view.php?id=6325
Bye,
MTW
lol
the right function to modify is string_custom_field_value_for_email and not function print_custom_field_value
Sorry Cut&Paste error :)
look also here for some information
http://bugs.mantisbt.org/view.php?id=6325
Bye,
MTW
- 17 Oct 2005, 07:33
- Forum: Help
- Topic: Wich DBMS?
- Replies: 4
- Views: 6434
- 14 Oct 2005, 14:23
- Forum: Help
- Topic: Wich DBMS?
- Replies: 4
- Views: 6434
- 11 Oct 2005, 13:30
- Forum: Customizations
- Topic: DATETIME custom Field type + Search on custom fields
- Replies: 24
- Views: 64935
DATETIME data type
Sure, here it is:
1) in your main mantis dir (not core) create a new file named custom_constant_inc.php and add following lines to it
<?php
define( 'CUSTOM_FIELD_TYPE_DATETIME', 9 );
?>
2) in config_inc.php add the new type to enum string
$g_custom_field_type_enum_string = '0:string,1 ...
1) in your main mantis dir (not core) create a new file named custom_constant_inc.php and add following lines to it
<?php
define( 'CUSTOM_FIELD_TYPE_DATETIME', 9 );
?>
2) in config_inc.php add the new type to enum string
$g_custom_field_type_enum_string = '0:string,1 ...
- 10 Oct 2005, 09:55
- Forum: Customizations
- Topic: Problem with pririty customization
- Replies: 2
- Views: 6508
priority customization
have you placed your custom_constant_inc.php and custom_strings_inc.php in your main mantis directory? (not in core or lang dirs)
I have done something similar to add a new datatype and it works for me, I'm using rc2
byez
MTW
I have done something similar to add a new datatype and it works for me, I'm using rc2
byez
MTW
- 03 Oct 2005, 10:20
- Forum: Customizations
- Topic: Customize Severity?
- Replies: 8
- Views: 22431
- 30 Sep 2005, 15:54
- Forum: Customizations
- Topic: DATETIME custom Field type + Search on custom fields
- Replies: 24
- Views: 64935
DATETIME custom Field type + Search on custom fields
Hi all
I was in need for DATETIME data type in my project so I have added it to custom data types
I have also added support for simple text search on custom fields
In the meanwhile I have modified the build of an incorrect sql join statement that bring MySQL to exec the infinite query when using ...
I was in need for DATETIME data type in my project so I have added it to custom data types
I have also added support for simple text search on custom fields
In the meanwhile I have modified the build of an incorrect sql join statement that bring MySQL to exec the infinite query when using ...
- 30 Sep 2005, 15:31
- Forum: Customizations
- Topic: Customize Severity?
- Replies: 8
- Views: 22431
adding new severity level
In constant_inc.php search for severity and add your define
In config_inc.php search $g_severity_enum_string and add the description
In strings_yourlanguage.txt search $s_severity_enum_string and add the translation
After that you should search all files in your mantis directory to see if new added ...
In config_inc.php search $g_severity_enum_string and add the description
In strings_yourlanguage.txt search $s_severity_enum_string and add the translation
After that you should search all files in your mantis directory to see if new added ...
- 29 Sep 2005, 17:02
- Forum: Help
- Topic: Wich DBMS?
- Replies: 4
- Views: 6434
Wich DBMS?
Hi all
I need to test which database type is used in the application
Is there a config variable or other manner to know if manti is working with MySQL, MSSQL or other DBMS?
thx
Mtw
I need to test which database type is used in the application
Is there a config variable or other manner to know if manti is working with MySQL, MSSQL or other DBMS?
thx
Mtw
- 02 Sep 2005, 08:55
- Forum: Customizations
- Topic: custom field/function
- Replies: 2
- Views: 8950
I have done it with custom fields also
In my custom_functions_inc.php I have written this override function:
function custom_function_override_issue_create_notify( $p_issue_id ) {
$t_id = custom_field_get_id_from_name( 'Scadenza SLA' );
custom_field_set_value( $t_id, $p_issue_id, strtotime ('+5 day') );
}
To set a custom field to ...
function custom_function_override_issue_create_notify( $p_issue_id ) {
$t_id = custom_field_get_id_from_name( 'Scadenza SLA' );
custom_field_set_value( $t_id, $p_issue_id, strtotime ('+5 day') );
}
To set a custom field to ...