From 6eb3591f8b3603e8da3ec3125739b2ed35b616b2 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 3 May 2018 14:10:10 -0400 Subject: [PATCH] Update contact list Use custom field for email address. --- glm-member-db-contacts/views/front/contacts/list.html | 4 +++- style.css | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/glm-member-db-contacts/views/front/contacts/list.html b/glm-member-db-contacts/views/front/contacts/list.html index 3b82e11..b36b7c4 100644 --- a/glm-member-db-contacts/views/front/contacts/list.html +++ b/glm-member-db-contacts/views/front/contacts/list.html @@ -131,7 +131,9 @@ and open the template in the editor. {if $contact.mobile_phone}
Mobile: {$contact.mobile_phone}
{/if} {if $contact.alt_phone}
Alternate: {$contact.alt_phone}
{/if} {if $contact.fax}
Fax: {$contact.fax}
{/if} - {if $contact.email}
Email: {$contact.email}
{/if} + {$email = apply_filters( 'glm_custom_fields', 'Email on Website', $contact.id )} + + {if $email}
Email: {$email}
{/if} {if $contact.alt_email}
Alt Email: {$contact.alt_email}
{/if} {if $contact.url}
Website: {$contact.url}
{/if} diff --git a/style.css b/style.css index 6c40890..8af0c36 100644 --- a/style.css +++ b/style.css @@ -3,5 +3,5 @@ Theme Name: MiGCSA Author: Gaslight Media Author URI: http://www.gaslightmedia.com Description: A theme for MiGCSA -Version: 1.0.7 +Version: 1.0.8 */ -- 2.17.1