Page 1 of 1

Customizing the relationship list

Posted: 18 May 2016, 08:04
by m.abdullah
How do i configure or customize the relationship list.
Instead of : parent of, child of, duplicate of, has duplicate, related to
Is it possible to customize the list?
I tried looking for a relationship_enum_string in the config_defaults_inc.php but i couldn't find it.

Re: Customizing the relationship list

Posted: 18 May 2016, 10:22
by atrol
Have a look at core/relationship_api.php
Create a file named custom_relationships_inc.php in config folder and unset the types of $g_relationships that you don't want or add new ones.

Re: Customizing the relationship list

Posted: 19 May 2016, 09:35
by m.abdullah
Ok noted, will try it out.
Thank you for the response.