From: Steve Sutton Date: Fri, 23 Jun 2017 13:42:11 +0000 (-0400) Subject: Update template to use correct id X-Git-Tag: v1.0.0^2~37 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=886b2b2610809835fca0bbf99d16fe1483b1dd13;p=WP-Themes%2Fmichigantrailmaps.git Update template to use correct id Need to pass to custom field info filter the member info id --- diff --git a/glm-member-db/views/front/members/detail.html b/glm-member-db/views/front/members/detail.html index 2a3870a..270388e 100644 --- a/glm-member-db/views/front/members/detail.html +++ b/glm-member-db/views/front/members/detail.html @@ -92,34 +92,34 @@
{$lon = apply_filters( 'glm-member-lat-lon-dms', $member.lon, 'Lon', 'DMS', 2 )}{if $lon.text}{$lon.text}{/if}
{/if} - {if apply_filters('glm_custom_fields', 'distance', $member.id)} + {if apply_filters('glm_custom_fields', 'distance', $member.memberInfoId)}
Distance
-
{apply_filters('glm_custom_fields', 'distance', $member.id)}
+
{apply_filters('glm_custom_fields', 'distance', $member.memberInfoId)}
{/if} - {if apply_filters('glm_custom_fields', 'type', $member.id)} + {if apply_filters('glm_custom_fields', 'type', $member.memberInfoId)}
Trail Type
-
{apply_filters('glm_custom_fields', 'type', $member.id)}
+
{apply_filters('glm_custom_fields', 'type', $member.memberInfoId)}
{/if} - {if apply_filters('glm_custom_fields', 'terrain', $member.id)} + {if apply_filters('glm_custom_fields', 'terrain', $member.memberInfoId)}
Terrain
-
{apply_filters('glm_custom_fields', 'terrain', $member.id)}
+
{apply_filters('glm_custom_fields', 'terrain', $member.memberInfoId)}
{/if} - {if apply_filters('glm_custom_fields', 'difficulty', $member.id)} + {if apply_filters('glm_custom_fields', 'difficulty', $member.memberInfoId)}
Difficulty
-
{apply_filters('glm_custom_fields', 'difficulty', $member.id)}
+
{apply_filters('glm_custom_fields', 'difficulty', $member.memberInfoId)}
{/if} - {if apply_filters('glm_custom_fields', 'nearest_city_or_town', $member.id)} + {if apply_filters('glm_custom_fields', 'nearest_city_or_town', $member.memberInfoId)}
Nearest City or Town
-
{apply_filters('glm_custom_fields', 'nearest_city_or_town', $member.id)}
+
{apply_filters('glm_custom_fields', 'nearest_city_or_town', $member.memberInfoId)}
{/if}