From: Steve Sutton Date: Wed, 24 Apr 2019 18:20:02 +0000 (-0400) Subject: Updating front end X-Git-Tag: v1.0.24^2~3 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=eba3df29be046ed4c6ca72b64d13d1d9350eaa1c;p=WP-Themes%2Fmigcsa.git Updating front end Use first then last name and place CGCS next to name. Use only the organization section (not contact info) Add Spouse custom field to the bottom of phone and website section. --- diff --git a/glm-member-db-contacts/views/front/contacts/list.html b/glm-member-db-contacts/views/front/contacts/list.html index 7383be1..1edf980 100644 --- a/glm-member-db-contacts/views/front/contacts/list.html +++ b/glm-member-db-contacts/views/front/contacts/list.html @@ -79,14 +79,14 @@ and open the template in the editor.
- {if $contact.image} + {if $contact.image && $settings.enable_profile_image}
{else}
{/if}

- {$contact.lname}, {$contact.fname} + {$contact.fname} {$contact.lname}{if $cgcs == 'Yes'}, CGCS{/if}

@@ -106,40 +106,27 @@ and open the template in the editor. {$contact_mobile_phone=""} {$contact_office_phone=""} {$cgcs = apply_filters( 'glm_custom_fields', 'CGCS?', $contact.id )} - {if $contact.contact_publish.value == true } - {$contact_fname=$contact.fname} - {$contact_lname=$contact.lname} - {$contact_addr1=$contact.addr1} - {$contact_addr2=$contact.addr2} - {$contact_city=$contact.city} - {$contact_state=$contact.state} - {$contact_zip=$contact.zip} - {$contact_phone=$contact.home_phone} - {$contact_mobile_phone=$contact.home_phone} - {$contact_email=$contact.alt_email} - {else if $contact.business_publish.value == true} - {$contact_fname=$contact.business_fname} - {$contact_lname=$contact.business_lname} - {$contact_addr1=$contact.business_addr1} - {$contact_addr2=$contact.business_addr2} - {$contact_city=$contact.business_city} - {$contact_state=$contact.business_state} - {$contact_zip=$contact.business_zip} - {$contact_phone=$contact.business_phone} - {$contact_office_phone=$contact.office_phone} - {$contact_mobile_phone=$contact.business_mobile} - {$contact_fax=$contact.fax} - {$contact_email=$contact.business_email} - {$contact_url=$contact.url} - {$contact_org=$contact.org} - {$contact_title=$contact.title} - {/if} + {$contact_fname=$contact.business_fname} + {$contact_lname=$contact.business_lname} + {$contact_addr1=$contact.business_addr1} + {$contact_addr2=$contact.business_addr2} + {$contact_city=$contact.business_city} + {$contact_state=$contact.business_state} + {$contact_zip=$contact.business_zip} + {$contact_phone=$contact.business_phone} + {$contact_office_phone=$contact.office_phone} + {$contact_mobile_phone=$contact.business_mobile} + {$contact_fax=$contact.fax} + {$contact_email=$contact.business_email} + {$contact_url=$contact.url} + {$contact_org=$contact.org} + {$contact_title=$contact.title} {if $contact.business_publish.value == true && $contact.contact_publish.value != true}
{if $contact_title}
- {$contact_title}{if $cgcs == 'Yes'}, CGCS{/if} + {$contact_title}
{/if} @@ -233,10 +220,19 @@ and open the template in the editor.
{/if} + {$spouse = apply_filters( 'glm_custom_fields', 'Spouse', $contact.id )} + {if $spouse} +
+ Spouse + + {$spouse} + +
+ {/if}
- {if $contact.image} + {if $contact.image && $settings.enable_profile_image}