; The page id in the toolbox that is the members only leads page
memberdb.members.leads_page = Off
; Turn the trip planner module On or Off for the member application
-memberdb.session.list = Off
+memberdb.session.list = On
; The page id in the toolbox that holds the output for the trip planner
-memberdb.session.page = Off
+memberdb.session.page = 6
; The page id in the toolbox that holds the create account form for the trip planner
-memberdb.session.form = Off
+memberdb.session.form = 16
; Turn on the streamsend module to use with our member application
memberdb.streamsend.application = Off
--- /dev/null
+<?php
+$pp = new Toolkit_Contacts_SaveTripPlanner(
+ Toolkit_Database::getInstance(),
+ 'TravelList',
+ 'post',
+ BASE_URL .
+ 'index.php?catid='.MEMBER_SESSION_FORM
+);
+$pp->configureForm();
+$pp->useCaptcha(true);
+$pp->setGateway($this->pageGateway);
+echo $pp->toHTML();
--- /dev/null
+<?php
+if ($_REQUEST['cPage']) {
+ echo '
+<style type="text/css">
+ #category, .listing { display:none; }
+</style>';
+}
+
+$sController = new Toolkit_Members_TripPlannerList(
+ $this->pageGateway,
+ Toolkit_Database::getInstance()
+);
+$sController->show();