From: Steve Sutton
Date: Mon, 17 Jul 2017 19:53:22 +0000 (-0400)
Subject: Add required fields to help for member csv import
X-Git-Tag: v2.10.0^2~4
X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=c788e4de248b5022f802ab8c78cd291c42eb6832;p=WP-Plugins%2Fglm-member-db.git
Add required fields to help for member csv import
Adding required fields to the help section for member CSV Import.
---
diff --git a/setup/adminHooks.php b/setup/adminHooks.php
index d9ab22f4..4b750b8d 100644
--- a/setup/adminHooks.php
+++ b/setup/adminHooks.php
@@ -327,6 +327,7 @@ function glm_admin_import_help_tab () {
'' . __( 'On most tabs, except for the Member Contacts, You\'ll
see a checkbox for Clear data. You\'ll want to uncheck this if you
don\'t want the import to clear out the original data.' ) . '
'
+ . 'Required Fields (member file)
'
)
);
@@ -338,6 +339,7 @@ function glm_admin_import_help_tab () {
galleries for each member. Make sure the "image" field contains a
complete url for the image. You should also make sure the image is
no larger than 800px wide.' ) . '
'
+ . 'Required Fields
'
)
);
$screen->add_help_tab(
@@ -346,7 +348,7 @@ function glm_admin_import_help_tab () {
'title' => __( 'Import Files' ),
'content' => '' . __( 'This tab will allow you to import files
for each member. Make sure the "file_url" field contains a complete url
- for the file.' ) . '
'
+ for the file.' ) . '' . 'Required Fields
- member_id
- file_url
- file_name
'
)
);
// Get help tabs from the other plugins using apply_filters.