From 9273a135ce349761747dbbbf5ea3219089fc84af Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Tue, 24 Jul 2018 07:56:41 -0400 Subject: [PATCH] Renaming the view file for contact custom fields. This was the same name as one in the members plugin so the members plugin one was loaded. Changing the name of the view file to correct this. --- models/admin/management/contacts.php | 2 +- views/admin/management/contacts.html | 48 +++++++++---------- .../{custom.html => customFields.html} | 0 3 files changed, 25 insertions(+), 25 deletions(-) rename views/admin/management/{custom.html => customFields.html} (100%) diff --git a/models/admin/management/contacts.php b/models/admin/management/contacts.php index ea32539..007c9c4 100644 --- a/models/admin/management/contacts.php +++ b/models/admin/management/contacts.php @@ -441,7 +441,7 @@ class GlmMembersAdmin_management_contacts extends GlmDataContacts break; case 'customfields': - $requestedView = 'custom.html'; + $requestedView = 'customFields.html'; $content = apply_filters( 'glm-members-customfields-edit', '', GLM_MEMBERS_CONTACTS_PLUGIN_SLUG ); $thisOption = $option; break; diff --git a/views/admin/management/contacts.html b/views/admin/management/contacts.html index 5435e55..bd52c1a 100644 --- a/views/admin/management/contacts.html +++ b/views/admin/management/contacts.html @@ -16,12 +16,12 @@ Number of contacts from supplied CSV file:{$importResult.numbContacts} Number of contacts Updated:{$importResult.numbContactsUpdated} Number of contacts with WordPress users Updated:{$importResult.numbWpUserUpdated} - {else} + {else} Number of contacts from old database:{$importResult.numbContacts} {/if} Number of contacts imported:{$importResult.numbImported} Number of contacts with WordPress users created:{$importResult.numbWpUsersCreated} - + Return to Import Events {else} @@ -29,9 +29,9 @@ - +

 Clear All Contacts

- + @@ -52,18 +52,18 @@
Clear Contacts:
- +

 

- +

 Import from Gaslight Media Legacy Database

- + @@ -91,25 +91,25 @@
 Please provide information on the database from which you will be importing data.
- +
- +

 

- +

 Import/Update Contacts from CSV File

- +
 

File format must be as follows.
- * Data must follow this header line.
+ * Data must follow this header line.
* Anything above this line is ignored.
* Any line without at least this number of fields is ignored.
* Any line with a non-numeric "member_id" is ignored.
@@ -126,11 +126,11 @@

- +
- - -{/if} + + +{/if} {if $importResult.exceptionTable}
@@ -144,9 +144,9 @@ {/if} {include file='admin/footer.html'} - \ No newline at end of file + diff --git a/views/admin/management/custom.html b/views/admin/management/customFields.html similarity index 100% rename from views/admin/management/custom.html rename to views/admin/management/customFields.html -- 2.17.1