From 4c34dc87c4e7d7d4683d6dffad29d4f00b1a0b58 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Wed, 8 Aug 2018 16:15:32 -0400 Subject: [PATCH] Fixed custom field groups on list view accidentally deleted in my previous commit --- .../views/front/contacts/list.html | 27 ++++++++++--------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/glm-member-db-contacts/views/front/contacts/list.html b/glm-member-db-contacts/views/front/contacts/list.html index 3a5c6f6..faebdb6 100644 --- a/glm-member-db-contacts/views/front/contacts/list.html +++ b/glm-member-db-contacts/views/front/contacts/list.html @@ -445,20 +445,21 @@ and open the template in the editor.
{$customFields = apply_filters('get_glm_custom_fields','glm-member-db-contacts',$contact.id)} - - {if !empty($customFields[0].field_data)} - {foreach $customFields as $field} - {if $field.field_data} -
-
- {$field.field_name} - {$field.field_data} + {foreach $customFieldGroups as $customFields} + {if !empty($customFields[0].field_data)} + {foreach $customFields as $field} + {if $field.field_data} +
+
+ {$field.field_name} + {$field.field_data} +
+
- -
- {/if} - {/foreach} - {/if} + {/if} + {/foreach} + {/if} + {/foreach}
-- 2.17.1