Show current project in title

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
eanon
Posts: 16
Joined: 18 Feb 2013, 13:22

Show current project in title

Post by eanon »

When all projects are privates and a user is assigned to one project only, nothing tell him, on screen, the name of this project (unless going on an issue view, of course). So, is there a way to display* the current project name at the top of all the pages ?

* Like requested in this ticket (open since 2011) : http://www.mantisbt.org/bugs/view.php?id=4653.

--
EDIT : Ok, awaiting an official way, I've added the line below between line 558 and 559 of the current "core/html_api.php" file :

Code: Select all

echo 'Project : ' . project_get_field( $t_project_id, 'name' ); // displays project name when no combo-box
emphyrio
Posts: 10
Joined: 03 Jan 2018, 16:44

Re: Show current project in title

Post by emphyrio »

Hello,

It seems that it hasn't been officially implemented yet.
Do you know where to put your line in the latest version (2.10)?

Thanks
Patrick
Starbuck
Posts: 217
Joined: 14 Feb 2006, 02:53
Location: USA
Contact:

Re: Show current project in title

Post by Starbuck »

Good topic for a plugin discussion.
If you want Mantis to work differently, use or create a plugin. Visit the Plugins forums.
Ask developers to create a plugin that you need - and motivate them to help you!
Post Reply