I'm having a similar question and want to override a core function, in my case file_normalize_attachment_path
Is there no option or trick to do this?
Search found 28 matches
- 29 Aug 2024, 09:14
- Forum: Customizations
- Topic: Custom Function override
- Replies: 3
- Views: 13649
- 25 Sep 2023, 13:35
- Forum: Help
- Topic: Change workflow based on selected category
- Replies: 10
- Views: 43453
Re: Change workflow based on selected category
dead link..... 
- 23 Jun 2022, 08:45
- Forum: General Discussion
- Topic: Rqst: Change 'threshold' parameters to Arrays
- Replies: 16
- Views: 43953
Re: Rqst: Change 'threshold' parameters to Arrays
I'm also very curious about how to fix this.
In my example i only want that the REPORTER and UPDATER are able to CLOSE a bug.
and not the DEVELOPER.
How am i going to fix this?
Any help is appreciated.
thx!
In my example i only want that the REPORTER and UPDATER are able to CLOSE a bug.
and not the DEVELOPER.
How am i going to fix this?
Any help is appreciated.
thx!
- 17 Jan 2022, 14:35
- Forum: Customizations
- Topic: Submit issue via external form?
- Replies: 10
- Views: 33265
- 09 Jan 2022, 01:46
- Forum: Help
- Topic: Execute SQL command after create issue
- Replies: 2
- Views: 2945
Re: Execute SQL command after create issue
Thank you Cas,
It did help me find the problem.
I needed to add:
db_query( $t_query );
Thanks again!
It did help me find the problem.
I needed to add:
db_query( $t_query );
Thanks again!
- 06 Jan 2022, 16:51
- Forum: Help
- Topic: Execute SQL command after create issue
- Replies: 2
- Views: 2945
Execute SQL command after create issue
Hi,
I need to update a custom_field (26) automatically after creating of an issue.
The data (name) is coming from a separate table 'DATA_table'.
I have created a new file 'custom_functions_inc.php' and located this file in the config folder.
Within the file i created an 'override' function, see ...
I need to update a custom_field (26) automatically after creating of an issue.
The data (name) is coming from a separate table 'DATA_table'.
I have created a new file 'custom_functions_inc.php' and located this file in the config folder.
Within the file i created an 'override' function, see ...
- 25 Nov 2020, 21:46
- Forum: Customizations
- Topic: My view with custom fields.
- Replies: 1
- Views: 8549
Re: My view with custom fields.
Edit file my_view_inc.php
Example show OS and OS-build.
# -- Loop over bug rows and create $v_* variables --
$t_count = count( $t_rows );
if( $t_count == 0 ) {
echo '<tr><td> </td></tr>';
}
for( $i = 0;$i < $t_count; $i++ ) {
$t_bug = $t_rows[$i];
[u] $t_os = string_display_line_links( $t ...
Example show OS and OS-build.
# -- Loop over bug rows and create $v_* variables --
$t_count = count( $t_rows );
if( $t_count == 0 ) {
echo '<tr><td> </td></tr>';
}
for( $i = 0;$i < $t_count; $i++ ) {
$t_bug = $t_rows[$i];
[u] $t_os = string_display_line_links( $t ...
- 16 Apr 2020, 12:11
- Forum: General Discussion
- Topic: Rest API does not work - code 200, but the authorization page in the response
- Replies: 1
- Views: 6227
Re: Rest API does not work - code 200, but the authorization page in the response
I have the same problem.
I have tried everything on this page, but with no succes.
viewtopic.php?f=3&t=26155
Any help is really appreciated.
Running:
Mantis 2.22
Ubuntu 18.04 with
Apache 2.4
PHP 7.2 and Webmin
I have tried everything on this page, but with no succes.
viewtopic.php?f=3&t=26155
Any help is really appreciated.
Running:
Mantis 2.22
Ubuntu 18.04 with
Apache 2.4
PHP 7.2 and Webmin
- 05 Sep 2019, 11:15
- Forum: Customizations
- Topic: DATETIME custom Field type + Search on custom fields
- Replies: 24
- Views: 65183
Re: DATETIME custom Field type + Search on custom fields
I have this functionality almost to work under 2.22.
Only when i submit a new ticket and i leave the hours en minutes field '0' (default) the custom_field is not saved at all in de DB.
The custom_field is only saved in de DB when i change the field to another time without an '0'. Only then it is ...
Only when i submit a new ticket and i leave the hours en minutes field '0' (default) the custom_field is not saved at all in de DB.
The custom_field is only saved in de DB when i change the field to another time without an '0'. Only then it is ...
- 20 Aug 2019, 11:53
- Forum: Customizations
- Topic: DATETIME custom Field type + Search on custom fields
- Replies: 24
- Views: 65183
Re: DATETIME custom Field type + Search on custom fields
Hi,
I was wandering if anyone has an update for Mantis version 2.21.1.
I have implemented the code above from Cecille and it seems to work except when entering '0' for hours and minutes.
When entering a '0', the complete custom field won't be saved and becomes blank after submitting.
Hopefully ...
I was wandering if anyone has an update for Mantis version 2.21.1.
I have implemented the code above from Cecille and it seems to work except when entering '0' for hours and minutes.
When entering a '0', the complete custom field won't be saved and becomes blank after submitting.
Hopefully ...
- 02 Aug 2019, 23:17
- Forum: Customizations
- Topic: DATETIME custom Field type + Search on custom fields
- Replies: 24
- Views: 65183
Re: DATETIME custom Field type + Search on custom fields
Anyone got to work with 2.21 version?
I am still struggling.... help is really appreciated.
Thanks in advanced.
I am still struggling.... help is really appreciated.
Thanks in advanced.
- 11 Jan 2019, 16:23
- Forum: General Discussion
- Topic: How to set email notification settings, only assignee
- Replies: 9
- Views: 21982
Re: How to set email notification settings, only assignee
Hi Atrol,
Thanks for the feedback Atrol, but still struggling.
It seems that your personal (account) settings overrides the general settings.
So if option 'E-mail on Change of Handler' is un-checked in your personal settings, you won't receive any email when assignee has been changed. Even when ...
Thanks for the feedback Atrol, but still struggling.
It seems that your personal (account) settings overrides the general settings.
So if option 'E-mail on Change of Handler' is un-checked in your personal settings, you won't receive any email when assignee has been changed. Even when ...
- 03 Oct 2018, 10:09
- Forum: Help
- Topic: date picker for custom date field
- Replies: 16
- Views: 29584
Re: date picker for custom date field
Seems not to work for version 2.16.
Any ideas?
thx
Any ideas?
thx
- 22 Aug 2018, 13:16
- Forum: Customizations
- Topic: Adding an extra option for view_state
- Replies: 0
- Views: 4756
Adding an extra option for view_state
Hi,
Like to add a new selectable option for '&g_view_state_enum_string' on the bug_report_page.
So besides; public and private a third option. for example only for MANAGERS.
Therefore I need to add an extra CONSTANT. But it seems i can only find the constants for 'project_view_state_enum_string ...
Like to add a new selectable option for '&g_view_state_enum_string' on the bug_report_page.
So besides; public and private a third option. for example only for MANAGERS.
Therefore I need to add an extra CONSTANT. But it seems i can only find the constants for 'project_view_state_enum_string ...
- 09 Aug 2018, 08:28
- Forum: General Discussion
- Topic: How to set email notification settings, only assignee
- Replies: 9
- Views: 21982
Re: How to set email notification settings, only assignee
Hi Atrol,
Thanks for your feedback.
I made indeed some minor and textual adjustments, but technically everything is still the same.
I have set your settings like you mentioned. And set the account settings of the assignee person according attachment.
Actions:
Submitted an new ticket, not assigned ...
Thanks for your feedback.
I made indeed some minor and textual adjustments, but technically everything is still the same.
I have set your settings like you mentioned. And set the account settings of the assignee person according attachment.
Actions:
Submitted an new ticket, not assigned ...