• Homepage
  • FAQ
  • Modules
    • Workflow Designer
      • Documentation
      • Changelog VT 7
      • Task Updates
      • Knowledge Base
    • Colorizer
      • Changelog
    • CloudFile
    • Coupons
    • VtigerCRM Tools
    • Other Documentations
  • VtigerCRM
  • Tickets
  • Redoo Networks Homepage
  • German
  • Homepage
  • FAQ
  • Modules
    • Workflow Designer
      • Documentation
      • Changelog VT 7
      • Task Updates
      • Knowledge Base
    • Colorizer
      • Changelog
    • CloudFile
    • Coupons
    • VtigerCRM Tools
    • Other Documentations
  • VtigerCRM
  • Tickets
  • Redoo Networks Homepage
  • German
home/Knowledge Base/VtigerCRM/VtigerCRM 6/Add custom fields to Related List

Add custom fields to Related List

391 views 1 June 14, 2017 sysadmin

With a very small modification, you are able to show custom fields within Related Lists.
With this modification, you are able to enable “Summary View” checkbox for custom fields to show this field in related lists.

Open file data/CRMEntity.php

Search:

$query .= " LEFT  JOIN vtiger_groups       ON vtiger_groups.groupid = vtiger_crmentity.smownerid";

Insert After:

foreach($other->tab_name_index as $tablename => $table_index) {
	if(isset($other->related_tables[$tablename])) continue;
	if($tablename == 'vtiger_crmentity') continue;
	if($tablename == $other->table_name) continue;

	$query .= " LEFT  JOIN $tablename   ON (".$tablename.".".$table_index." = ".$other->table_name.".".$other->table_index.")";
}

Was this helpful?

1 Yes  No
Leave A Comment Cancel reply

New title
  • CloudFile 1
  • Coupons 1
  • Colorizer 2
  • Flex Reports 1
  • Workflow Designer 3
    • Developer 14
    • General 13
    • Example Workflows 2
  • VtigerCRM 0
    • VtigerCRM 6 1
    • EventHandlers 4
    • Modifications 1
    • General 4
Popular Articles
  • How to debug VtigerCRM?
  • Coupons
  • [VT6] use custom Product price fields for special modules
  • SMTP Server Konfiguration
  • Workflow Designer Quick Start

  • Impressum

Zum shop

  • Deutsch