Search found 5 matches

by fdot
27 Feb 2012, 13:49
Forum: Help
Topic: Creating a custom field with the Projects list
Replies: 9
Views: 8217

Re: Creating a custom field with the Projects list

It would be a pleasure but unfortunatly currently I can't make any screenshots :/

But to all the others users who are looking for this kind of solution feel free to use the code and to improve it !

I have plan to make 2-3 changes on it, I will post them here ;)
by fdot
27 Feb 2012, 10:29
Forum: Help
Topic: Creating a custom field with the Projects list
Replies: 9
Views: 8217

Re: Creating a custom field with the Projects list

Hi, I finally found a solution, for the moment it is a little bit quick and dirty but it is doing the job : function custom_function_override_enum_projects() { $p_project_id = helper_get_current_project(); $Parentprojectid = project_hierarchy_get_parent($p_project_id); $TopParentprojectid = project_...
by fdot
24 Feb 2012, 17:54
Forum: Help
Topic: Creating a custom field with the Projects list
Replies: 9
Views: 8217

Re: Creating a custom field with the Projects list

Hey thanks a lot for all the tips i have made severals tests and now I know why it is not working :) My projects are organized like this : Project 1 -Sub-project 2 --Sub-Sub-project 3 Project 2 So my issues are always in some sub-sub-projects. If I use current_user_get_accessible_subprojects( helper...
by fdot
24 Feb 2012, 15:22
Forum: Help
Topic: Creating a custom field with the Projects list
Replies: 9
Views: 8217

Re: Creating a custom field with the Projects list

Hi istvanb, Thanks a lot for the help. I have tried to make some tests based on manage_proj_edit_page.php : function custom_function_override_enum_projects() { $t_enum = array(); $t_project_ids = current_user_get_accessible_subprojects( $f_project_id, /* show_disabled */ true ); if ( Array() != $t_p...
by fdot
24 Feb 2012, 13:48
Forum: Help
Topic: Creating a custom field with the Projects list
Replies: 9
Views: 8217

Creating a custom field with the Projects list

Hello Mantis community :) ! I am currently using Mantis with the following project organisation : Project 1 -Sub-project 2 --Sub-Sub-project 3 Project 2 ... I would like to create a custom dynamic field which is displaying the list of all the sub-project and sub-sub-project of a project. I have made...