From d8e53ab2c53b1c4dbda2743ad390a801e42f6fd0 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 16 Mar 2017 11:03:25 -0400 Subject: [PATCH] Now the schedule and directions are working for dropdown. mapLink and the directions are now work. --- models/front/apis/schedule.php | 4 +- views/front/apis/schedule.html | 139 +++++++++++++++++---------------- 2 files changed, 72 insertions(+), 71 deletions(-) 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}
- - -- 2.17.1