Customizing the project drop-down list

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
tiinar
Posts: 2
Joined: 31 May 2010, 09:44

Customizing the project drop-down list

Post by tiinar »

I’m currently using Mantis 1.1.8 and struggling with the amount of projects which makes it difficult to find the correct one quickly.

So I’d like to customize the Project drop-down list on the upper right corner so that it could be branched out (sub projects hidden until the parent project is selected). Another option could be to add another drop-down list where the main projects are listed and sub projects would appear on the other drop-down list after one of the main projects is selected.

Any ideas how to implement this or some code examples? I’ve been seaching different mantis forums but maybe I’m blind because I haven’t find any solutions for this.. And is the correct place I should modify user_api.php?
HomesicK
Posts: 21
Joined: 14 Oct 2010, 09:44

Re: Customizing the project drop-down list

Post by HomesicK »

I have the same concern discussed above ,,

Any help please ???
Mantis: 1.2.4
PHP: 5.2.6
SQL: MySQL 5.0.51a
atrol
Site Admin
Posts: 8536
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Customizing the project drop-down list

Post by atrol »

Did you try

Code: Select all

 $g_show_extended_project_browser = ON;
Please use Search before posting and read the Manual
HomesicK
Posts: 21
Joined: 14 Oct 2010, 09:44

Re: Customizing the project drop-down list

Post by HomesicK »

atrol wrote:Did you try

Code: Select all

 $g_show_extended_project_browser = ON;
Hi atrol,,

Thanks a lot for your response :)

Yes, I tried it,, very nice :D,,

But could I add an extra drop-down list for sub-sub projects?? i.e to have 3 dropdown lists or more if applicable ?

Thanks

By the way,, I am the one who does not trust his developer,, if you remember :mrgreen: :P:P
Mantis: 1.2.4
PHP: 5.2.6
SQL: MySQL 5.0.51a
atrol
Site Admin
Posts: 8536
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Customizing the project drop-down list

Post by atrol »

HomesicK wrote: Yes, I tried it,, very nice :D,,
I found out, that one of the MantisBT core developers removed this option in MantisBT 1.3 without writing a new comparable functionality :?
Read why he decided to remove the feature
https://github.com/mantisbt/mantisbt/co ... b3019cb8d2
HomesicK wrote: But could I add an extra drop-down list for sub-sub projects?? i.e to have 3 dropdown lists or more if applicable ?
You have the source code and developers (maybe they will add some code to watch your activities, so this might not be the right moment to start trusting your developers)
Please use Search before posting and read the Manual
HomesicK
Posts: 21
Joined: 14 Oct 2010, 09:44

Re: Customizing the project drop-down list

Post by HomesicK »

atrol wrote: I found out, that one of the MantisBT core developers removed this option in MantisBT 1.3 without writing a new comparable functionality :?
Read why he decided to remove the feature
https://github.com/mantisbt/mantisbt/co ... b3019cb8d2
I read that, but I still need such feature to be enabled :(
atrol wrote: You have the source code and developers (maybe they will add some code to watch your activities, so this might not be the right moment to start trusting your developers)
HeHeHe ,, ALWAYS YOU ARE RIGHT :D
Mantis: 1.2.4
PHP: 5.2.6
SQL: MySQL 5.0.51a
Post Reply