*/
require_once GLM_MEMBERS_EVENTS_PLUGIN_SETUP_PATH.'/validActions.php';
require_once GLM_MEMBERS_EVENTS_PLUGIN_SETUP_PATH.'/shortcodes.php';
+require_once GLM_MEMBERS_EVENTS_PLUGIN_SETUP_PATH.'/requiredPages.php';
if (is_file(GLM_MEMBERS_EVENTS_PLUGIN_DB_SCRIPTS.'/dbVersions.php')) {
require_once GLM_MEMBERS_EVENTS_PLUGIN_DB_SCRIPTS.'/dbVersions.php';
}
'settings' => $GLOBALS['eventsManagementSettings']
),
'shortcodes' => $GLOBALS['glmMembersEventsShortcodes'],
- 'shortcodesDescription' => $GLOBALS['glmMembersEventsShortcodesDescription']
+ 'shortcodesDescription' => $GLOBALS['glmMembersEventsShortcodesDescription'],
+ 'requiredPages' => $GLOBALS['glmMembersEventsRequiredPages']
);
// If we have database tables for this plugin/addon, provide that data also
--- /dev/null
+<?php
+/**
+ * Gaslight Media Members Database
+ * GLM Members Events Add-On Required Pages
+ *
+ * PHP version 5.5
+ *
+ * @category glmWordPressPlugin
+ * @package glmMembersDatabase
+ * @author Gaslight Media <dev@gaslightmedia.com>
+ * @license http://www.gaslightmedia.com Gaslightmedia
+ * @release requiredPages.php,v 1.0 2014/10/31 19:31:47 glm Exp $
+ * @link http://dev.gaslightmedia.com/
+ */
+
+/*
+ * Array of required pages
+ *
+ * This array lists all of the required pages made available to the main
+ * member plugin
+ *
+ * This array is merged with the data from any registered add-ons
+ * providing required pages. The plugin providing the required pages
+ * is designated in the 'plugin' elemeent.
+ *
+ */
+
+$glmMembersEventsRequiredPages = array(
+ 'Events List' => array(
+ 'content' => '[glm-events-list]',
+ 'parent' => 'GLM Associate'
+ ),
+ 'Event Detail' => array(
+ 'content' => '[glm-event-detail]',
+ 'parent' => 'GLM Associate'
+ )
+);