I know about the relationship but they only get the primary field, not the other fields. For example, I have two modules, module 1 holds the personal information of the user while module 2 let us say holds the person's activities. in module 2 I would like to display the gender base on his information from module 1.
How can I proceed with this?
Please follow below steps to achieve this: Note: Make sure the Module-1 and Module-2 has one of the relationship 1-M or M-M
Step-1: Create new field in Module-2 to store/display the gender values
Step-2: Create new file in Module-2 location(custom/modules/Module2/views/view.detail.php)
Add the customCode in the gender field which you have created in Module2 like below. (Please note: Give the name of field similar to you custom field name):
Hope this will help you. Thanks!