Show current project in title

Post about your customizations to share with others.

Moderators: Developer, Contributor

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

Show current project in title

Post by eanon » Feb 27, 2013 12:13 pm

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: Jan 03, 2018 11:44 am

Re: Show current project in title

Post by emphyrio » Feb 01, 2018 9:35 am

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: 180
Joined: Feb 13, 2006 9:53 pm
Location: USA
Contact:

Re: Show current project in title

Post by Starbuck » Feb 01, 2018 1:57 pm

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