From: Steve Sutton Date: Thu, 16 Mar 2017 15:03:25 +0000 (-0400) Subject: Now the schedule and directions are working for dropdown. X-Git-Tag: v1.0.0^2~25 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=d8e53ab2c53b1c4dbda2743ad390a801e42f6fd0;p=WP-Plugins%2Fglm-member-db-apis.git Now the schedule and directions are working for dropdown. mapLink and the directions are now work. --- diff --git a/models/front/apis/schedule.php b/models/front/apis/schedule.php index 2c2ea87..4a1521a 100644 --- a/models/front/apis/schedule.php +++ b/models/front/apis/schedule.php @@ -49,7 +49,7 @@ class GlmMembersFront_apis_schedule */ public function modelAction($actionData = false) { - echo '
$_REQUEST: ' . print_r( $_REQUEST, true ) . '
'; + //echo '
$_REQUEST: ' . print_r( $_REQUEST, true ) . '
'; //echo '
$actionData: ' . print_r( $actionData, true ) . '
'; $view = 'schedule'; $settings = array(); @@ -67,7 +67,7 @@ class GlmMembersFront_apis_schedule if ( isset( $actionData['request']['in_dropdown'] ) && $inDropDown ) { $urlParams[] = 'dropdown=1'; } - if ( isset( $_REQUEST['mapLink'] ) && $inDropDown ) { + if ( isset( $_REQUEST['mapLink'] ) && !$inDropDown ) { $urlParams[] = 'mapLink=' . $_REQUEST['mapLink']; } if ( isset( $_REQUEST['dockId'] ) && !$inDropDown ) { diff --git a/views/front/apis/schedule.html b/views/front/apis/schedule.html index 3c4e53b..fff3689 100644 --- a/views/front/apis/schedule.html +++ b/views/front/apis/schedule.html @@ -1,3 +1,72 @@ + +
{if $inDropDown}
-{/if} + {/if} {$content} {if $inDropDown}
{/if}
- -