I need to add more information in clickable ānameā field in a list view. Now there is only 'first name" and ālast nameā, but i also need to add āfather nameā. I tried to add it in a custom\modules\ModuleName\metadata\listviewdefs, but it didnāt help.
Thanks for your answer!
Donāt you know is it possible to change it in listviewdefs.php file? I have problems with logic hooks, they are yet difficult for me
Logic hooks are your friends, you shouldnāt fear them : - )
The post I linked is so detailed and simple that you canāt possibly get it wrong.
There IS an alternative technique: overriding the preDisplay method of the ListView. But that works only with Listviews, not with Subpanels, and that is quite a limitationā¦
Hello @bhavin0070 . You should first overwrite the view.list.php file for the module. There are quite a few examples on how to do this. In the display override function you can set a variable in PHP and assign it to the like below.
Then you can use the $VARIABLE_NAME in the listview def. You may need to double check my variable settings in the override but this should be the gist of how to do it.