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?
customize "view issues" for every project
Moderators: Developer, Contributor
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
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
that´s a good idea. thank you!!deboutv wrote:In the function you can use something like:
Code: Select all
if ( helper_get_current_project() == 1 ) { // Your project specific stuff here }