Search found 13 matches

by MTW
21 Feb 2006, 09:10
Forum: Customizations
Topic: Datetime custom fields
Replies: 2
Views: 6550

DATETIME

by MTW
17 Oct 2005, 08:19
Forum: Customizations
Topic: DATETIME custom Field type + Search on custom fields
Replies: 24
Views: 55059

:)

You are welcome

I'm glad to help

MTW
by MTW
17 Oct 2005, 08:12
Forum: Customizations
Topic: DATETIME custom Field type + Search on custom fields
Replies: 24
Views: 55059

Again right!

in my early code I had the option list starting with empty option " " like date, month and year

This is the reason for that +1, after I removed the first empty option but I forgot to reset the loop index

Thank you for your attention!

MTW
by MTW
17 Oct 2005, 07:40
Forum: Customizations
Topic: DATETIME custom Field type + Search on custom fields
Replies: 24
Views: 55059

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
by MTW
17 Oct 2005, 07:33
Forum: Help
Topic: Wich DBMS?
Replies: 4
Views: 5982

thank u, I'll apply the chek to my code

MTW
by MTW
14 Oct 2005, 14:23
Forum: Help
Topic: Wich DBMS?
Replies: 4
Views: 5982

Hi, I'm using rc2

I had to customize the filter_api with some sql code specific to MySQL and I'd like to test for the database used to enable or disable that feature

thanks,

MTW
by MTW
11 Oct 2005, 13:30
Forum: Customizations
Topic: DATETIME custom Field type + Search on custom fields
Replies: 24
Views: 55059

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:numeric,2:floa...
by MTW
10 Oct 2005, 09:55
Forum: Customizations
Topic: Problem with pririty customization
Replies: 2
Views: 6100

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
by MTW
03 Oct 2005, 10:20
Forum: Customizations
Topic: Customize Severity?
Replies: 8
Views: 20602

Hi, I mean that I do not know all the mantis application in detail, in this particular case I have no idea of where and how the severity field is used/tested if it is treated as a string or a integer and so on.. so any modification could introduce new bugs. You should check yourself to see if your c...
by MTW
30 Sep 2005, 15:54
Forum: Customizations
Topic: DATETIME custom Field type + Search on custom fields
Replies: 24
Views: 55059

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 mor...
by MTW
30 Sep 2005, 15:31
Forum: Customizations
Topic: Customize Severity?
Replies: 8
Views: 20602

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 ...
by MTW
29 Sep 2005, 17:02
Forum: Help
Topic: Wich DBMS?
Replies: 4
Views: 5982

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
by MTW
02 Sep 2005, 08:55
Forum: Customizations
Topic: custom field/function
Replies: 2
Views: 8344

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 now+5 d...