Update help text for import and update import region sample file.
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 18 Jul 2017 19:04:31 +0000 (15:04 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 18 Jul 2017 19:04:31 +0000 (15:04 -0400)
Update the help text for imports.
Update the region sample file.

sample-files/regionData.csv
setup/adminHooks.php

index d248912..68fd09b 100644 (file)
@@ -1,3 +1,3 @@
 id,name
-30,Testing
-31,.
+30,Local
+31,Out of Town
index 18000e1..68e8043 100644 (file)
@@ -326,7 +326,8 @@ function glm_admin_import_help_tab () {
             Social)' ) . '</p>' .
             '<p>' . __( '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.' ) . '</p>'
+            don\'t want the import to clear out the original data. ' ) . '</p>'
+            . '<p> All fields are required for Amenity, Category, City, Region, County files.</p>'
             . '<h3>Required Fields (member file)</h3><ul><li>id</li><li>member_name</li><li>status</li></ul>'
 
         )
@@ -338,7 +339,7 @@ function glm_admin_import_help_tab () {
             'content' => '<p>' . __( 'This tab will allow you to import photo
             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.' ) .  '</p>'
+            no larger than 800px wide.' ) . '</p>'
             . '<h3>Required Fields</h3><ul><li>member_id</li><li>image</li></ul>'
         )
     );