customize "view issues" for every project

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
roga

customize "view issues" for every project

Post by roga »

i try to customize my "view issues"-page.
it works by an custom function get_columns_to_view.
by this way the setting is global (for every project).
but i add an custom field to the view and this custom field is not valid for every project. so there the fields are always empty.

is it possible to customize a function for every project?
is it possible to customize a function for one project only?
deboutv
Posts: 507
Joined: 15 Jan 2007, 14:31
Location: La Ciotat, FRANCE
Contact:

Post by deboutv »

In the function you can use something like:

Code: Select all

if ( helper_get_current_project() == 1 ) { 
    // Your project specific stuff here
}
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/

Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
roga

Post by roga »

deboutv wrote:In the function you can use something like:

Code: Select all

if ( helper_get_current_project() == 1 ) { 
    // Your project specific stuff here
}
that´s a good idea. thank you!!
Post Reply