From: Laury GvR Date: Wed, 8 Aug 2018 20:15:32 +0000 (-0400) Subject: Fixed custom field groups on list view accidentally deleted in my previous commit X-Git-Tag: v1.0.19^2~27 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=4c34dc87c4e7d7d4683d6dffad29d4f00b1a0b58;p=WP-Themes%2Fmigcsa.git Fixed custom field groups on list view accidentally deleted in my previous commit --- 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}