Adding help page for trip planner
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 12 Dec 2018 13:45:40 +0000 (08:45 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 12 Dec 2018 13:45:51 +0000 (08:45 -0500)
Using the wordpress thickbox function add_thickbox from template.
Setting up the helpme html page.

models/front/itinerary/list.php
templates/helpme.html [new file with mode: 0644]
views/front/itinerary/list.html

index c5cfd8d..a7acff4 100755 (executable)
@@ -374,6 +374,7 @@ class GlmMembersFront_itinerary_list // extends GlmMembersFront_events_baseActio
             'userInfo'          => $userInfo,
             'email'             => $email,
             'token'             => $token,
+            'helpUrl'           => GLM_MEMBERS_ITINERARY_PLUGIN_URL . 'templates/helpme.html',
         );
 
         error_reporting(E_ALL ^ E_NOTICE);
diff --git a/templates/helpme.html b/templates/helpme.html
new file mode 100644 (file)
index 0000000..c0e37f1
--- /dev/null
@@ -0,0 +1,44 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+"http://www.w3.org/TR/html4/strict.dtd">
+<html>
+  <head>
+       <title>Help Me</title>
+<style type="text/css">
+<!--
+body {
+       padding: 10px;
+       font-family: arial, sans-serif;
+       font-size: 0.8em;
+}
+li {
+       margin-top: 1em;
+}
+-->
+</style>
+</head>
+  <body>
+<div id="wrapper">
+<p>
+This section lets you create your own online itinerary. As you find items on this website that may be of interest to you, simply click the "Add to
+Travel Planner" icon. Each item will then get added to your list. Once you have
+completed adding items to your planner list, you may take the following actions:</p>
+
+<ol>
+       <li>Request Info<br>
+This will send an email directly to each individual business using our "Send Me More Information"
+form. For the items you have added to your list that do not have an
+email, we will give you their phone number. </li>
+
+<li>Print This List<br>
+Prints the list to your printer, if you have one.</li>
+
+<li>
+Save your Trip Planner<br>
+Creates an account with this website so you can access your itinerary later.
+</li>
+
+</ol>
+
+</div>
+  </body>
+</html>
index 8baeadf..16ab390 100644 (file)
@@ -51,7 +51,8 @@
             <li class="more-info"> <a href="{$thisUrl}?option=moreinfo">Get more info</a> </li>
             <li class="print-list"> <a href="#" class="list-print" data-areaToPrint="PrintArea">Print this list</a> </li>
             <!-- <li> <a href="#">View Map</a> </li> -->
-            <li class="help"> <a href="#">Help</a> </li>
+            {add_thickbox()}
+            <li class="help"> <a href="{$helpUrl}?TB_iframe=true" class="thickbox">Help</a> </li>
         </ul>
     </div>
     {/if}