Hi,
I would like to adapt Mantis for my use, so I want to change the code!
i did not really understand how the custom functions work:
for example I want to change the display of the array in the file manage_user_page.php
i need to override print_manage_user_sort_link(...)
Is it right that I have to put :
helper_call_custom_function( 'print_manage_user_sort_link', array( 'manage_user_page.php', lang_get( 'username' ), 'username', $c_dir, $c_sort, $c_hide ))
and then override the function in custom_functions_inc.php?
Thanks for your help
How to use Custom Functions?
Moderators: Developer, Contributor
This is covered in the manual at http://manual.mantisbt.org/manual.custo ... ctions.php .
-
logan
False.
Custom functions are specific hooks placed in the code, not a generic way to change any function. In your case, you would need to edit the print_manage_user_sort_link() function directly.
Please post a bug at http://bugs.mantisbt.org with your changes and the reason for them, and we'll look at incorporating it in the regular release.
Custom functions are specific hooks placed in the code, not a generic way to change any function. In your case, you would need to edit the print_manage_user_sort_link() function directly.
Please post a bug at http://bugs.mantisbt.org with your changes and the reason for them, and we'll look at incorporating it in the regular release.