Customizing the relationship list

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
m.abdullah
Posts: 16
Joined: 19 Feb 2016, 08:09

Customizing the relationship list

Post 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.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Customizing the relationship list

Post 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.
Please use Search before posting and read the Manual
m.abdullah
Posts: 16
Joined: 19 Feb 2016, 08:09

Re: Customizing the relationship list

Post by m.abdullah »

Ok noted, will try it out.
Thank you for the response.
Post Reply