Required pages re-enabled
authorlaury <laury@gaslightmedia.com>
Fri, 13 May 2016 14:23:18 +0000 (10:23 -0400)
committerlaury <laury@gaslightmedia.com>
Fri, 13 May 2016 14:23:18 +0000 (10:23 -0400)
index.php
setup/requiredPages.php

index 94be9ad..56ed5b9 100644 (file)
--- a/index.php
+++ b/index.php
@@ -166,7 +166,7 @@ function glmMembersRegisterPackaging($addOns) {
                 'dbScriptPath' => GLM_MEMBERS_PACKAGING_PLUGIN_DB_SCRIPTS,
                 'dbVersions' => $GLOBALS['glmMembersPackagingDbVersions']
             ),
-            //'requiredPages' => $GLOBALS['glmMembersPackagingRequiredPages']
+            'requiredPages' => $GLOBALS['glmMembersPackagingRequiredPages']
     );
 
     // Return the array with our data added
index 066e995..1df0265 100644 (file)
@@ -33,7 +33,7 @@
  * - 'associate'   : this will make the page a child of the GLM Associate page 
  *                   for management purposes
  *
- * When in doubt just use 'associate'
+ * When in doubt just use '0'
  *
  */
 
@@ -41,13 +41,13 @@ $glmMembersPackagingRequiredPages = [
     'Packages List' => [
         'name' => 'Packages List',
         'content' => '[glm-members-packaging-list]',
-        'parent' => 'associate',
+        'parent' => '0',
         'underscored_name' => 'packaging_list_id',
     ],
     'Package Detail' => [
         'name' => 'Package Detail',
         'content' => '[glm-members-packaging-detail]',
-        'parent' => 'associate',
+        'parent' => '0',
         'underscored_name' => 'packaging_detail_id',
     ]
 ];