User Tools

  • Logged in as: anonymous (anonymous)
  • Log Out

Site Tools


mantisbt:customizing_relationships

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
mantisbt:customizing_relationships [2016/12/15 08:49]
atrol correct file name
mantisbt:customizing_relationships [2018/09/07 02:47] (current)
atrol Correct folder for Mantis >= 1.3.x, remove PHP closing tags from code
Line 12: Line 12:
 ==== Define Constants ==== ==== Define Constants ====
  
-Create custom_constants_inc.php in Mantis ​root folder and add the following code to it:+Create custom_constants_inc.php in Mantis ​config ​folder and add the following code to it:
  
 <code php> <code php>
Line 18: Line 18:
  define( '​BUG_CUSTOM_RELATIONSHIP_ORIGIN_OF', ​      99 );  define( '​BUG_CUSTOM_RELATIONSHIP_ORIGIN_OF', ​      99 );
  define( '​BUG_CUSTOM_RELATIONSHIP_ORIGINATES_FROM',​ 98 );  define( '​BUG_CUSTOM_RELATIONSHIP_ORIGINATES_FROM',​ 98 );
-?> 
 </​code>​ </​code>​
  
 ==== Define Relationship Metadata ==== ==== Define Relationship Metadata ====
  
-Create custom_relationships_inc.php in Mantis ​root folder and add the following code to it:+Create custom_relationships_inc.php in Mantis ​config ​folder and add the following code to it:
  
 <code php> <code php>
Line 44: Line 43:
  '#​edge_style'​ => array ( '​style'​ => '​dashed',​ '​color'​ => '​808080'​ ),  '#​edge_style'​ => array ( '​style'​ => '​dashed',​ '​color'​ => '​808080'​ ),
  );  );
-?> 
 </​code>​ </​code>​
  
Line 57: Line 55:
 ==== Define Custom Strings ==== ==== Define Custom Strings ====
  
-Create custom_strings_inc.php in Mantis ​root folder and add the following code to it:+Create custom_strings_inc.php in Mantis ​config ​folder and add the following code to it:
  
 <code php> <code php>
Line 68: Line 66:
  $s_email_notification_title_for_action_originates_from_relationship_added = '​Originates-From Relationship Added';​  $s_email_notification_title_for_action_originates_from_relationship_added = '​Originates-From Relationship Added';​
  $s_email_notification_title_for_action_originates_from_relationship_deleted = '​Originates-From Relationship Deleted';​  $s_email_notification_title_for_action_originates_from_relationship_deleted = '​Originates-From Relationship Deleted';​
-?> 
 </​code>​ </​code>​
  
mantisbt/customizing_relationships.txt ยท Last modified: 2018/09/07 02:47 by atrol