Just a heads up for anybody else trying to make per project customizations - I also had to include the following to use the function suggested by atrol:
require_once('core.php');
require_once('core/project_api.php');
require_once('core/access_api.php');
I incorrectly assumed at first that core ...
Search found 3 matches
- 02 Apr 2015, 23:47
- Forum: Help
- Topic: Per project settings
- Replies: 2
- Views: 2231
- 06 Mar 2015, 21:09
- Forum: General Discussion
- Topic: Reproducibility
- Replies: 1
- Views: 3528
Re: Reproducibility
Manage -> Manage Configuration
Config option: reproducibility_enum_string (String)
Example: '20:critical path,40:always,60:sometimes,80:rare,90:seen once'
You also need to create/modify custom_strings_inc.php and add line like:
$s_reproducibility_enum_string = '20:critical path,40:always,60 ...
Config option: reproducibility_enum_string (String)
Example: '20:critical path,40:always,60:sometimes,80:rare,90:seen once'
You also need to create/modify custom_strings_inc.php and add line like:
$s_reproducibility_enum_string = '20:critical path,40:always,60 ...
- 06 Mar 2015, 01:10
- Forum: Help
- Topic: Per project settings
- Replies: 2
- Views: 2231
Per project settings
I was trying to figure out how to customize settings per project and originally thought that this will work:
if ($t_project_id == 1) {
// custom settings
}
Unfortunately, it looks like if user is only assigned to a single project, this setting is not set. Is there a better variable to use or a ...
if ($t_project_id == 1) {
// custom settings
}
Unfortunately, it looks like if user is only assigned to a single project, this setting is not set. Is there a better variable to use or a ...