From: Pradeep Nayak Date: Thu, 28 Sep 2023 16:58:56 +0000 (+0100) Subject: Add Label field for Message Template X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4382ff06e9b3df6bf8efa8c36a13e66723366a17;p=civicrm-core.git Add Label field for Message Template --- diff --git a/CRM/Core/DAO/MessageTemplate.php b/CRM/Core/DAO/MessageTemplate.php index b39d92c083..fd7f5cafd2 100644 --- a/CRM/Core/DAO/MessageTemplate.php +++ b/CRM/Core/DAO/MessageTemplate.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/MessageTemplate.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:65e3ae090a60b085f252019d3d113ceb) + * (GenCodeChecksum:6dc7072586d725f18dd3c984091820f0) */ /** @@ -23,6 +23,13 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO { */ public static $_tableName = 'civicrm_msg_template'; + /** + * Field to show when displaying a record. + * + * @var string + */ + public static $_labelField = 'msg_title'; + /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * diff --git a/xml/schema/Core/MessageTemplate.xml b/xml/schema/Core/MessageTemplate.xml index a67839a281..ea6a8842ea 100644 --- a/xml/schema/Core/MessageTemplate.xml +++ b/xml/schema/Core/MessageTemplate.xml @@ -6,6 +6,7 @@ civicrm_msg_template Users will need a way to save and retrieve templates with tokens for use in recurring email communication tasks 1.6 + msg_title civicrm/admin/messageTemplates/add?action=add&reset=1 civicrm/admin/messageTemplates/add?action=view&id=[id]&reset=1