From 8ae2933fb6cc308368470e8a8059aa3fb489b440 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Wed, 3 May 2017 11:14:11 -0400 Subject: [PATCH] Adding shortcode and doc for bibco search --- setup/shortcodes.php | 16 ++++++++++++++++ setup/validActions.php | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/setup/shortcodes.php b/setup/shortcodes.php index 1fb7d24..63676aa 100644 --- a/setup/shortcodes.php +++ b/setup/shortcodes.php @@ -115,6 +115,15 @@ $glmMembersApisShortcodes = array( //'template' => false, ) ), + 'glm-members-api-bibco-search' => array( + 'plugin' => GLM_MEMBERS_APIS_PLUGIN_SLUG, + 'menu' => 'apis', + 'action' => 'bibcoSearch', + 'table' => false, + 'attribute' => array( + 'template' => false + ) + ), ); $glmMembersApisShortcodesDescription = ' @@ -139,6 +148,13 @@ $glmMembersApisShortcodesDescription = ' Pulls in the Directory for Harbor Point Golf Club + + + [glm-members-api-bibco-search] +   + + Pulls in the Search for Bibco + '; diff --git a/setup/validActions.php b/setup/validActions.php index 8926334..ad1fd63 100644 --- a/setup/validActions.php +++ b/setup/validActions.php @@ -60,7 +60,7 @@ $glmMembersApisAddOnValidActions = array( 'adminActions' => array( 'ajax' => array( - 'schedule' => GLM_MEMBERS_APIS_PLUGIN_SLUG, + 'schedule' => GLM_MEMBERS_APIS_PLUGIN_SLUG, 'scheduleDropdown' => GLM_MEMBERS_APIS_PLUGIN_SLUG, 'scheduleOffcanvas' => GLM_MEMBERS_APIS_PLUGIN_SLUG, 'scheduleFooterNav' => GLM_MEMBERS_APIS_PLUGIN_SLUG, -- 2.17.1