Update detail urls
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 7 Jul 2016 19:47:00 +0000 (15:47 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 7 Jul 2016 19:47:00 +0000 (15:47 -0400)
Remove the event from date from the url.
This was effecting the open search results.

index.php
views/front/events/agenda.html

index 040d868..ed50200 100644 (file)
--- a/index.php
+++ b/index.php
@@ -3,7 +3,7 @@
  * Plugin Name: GLM Members Database Events
  * Plugin URI: http://www.gaslightmedia.com/
  * Description: Gaslight Media Members Database.
- * Version: 1.2.16
+ * Version: 1.2.17
  * Author: Chuck Scott
  * Author URI: http://www.gaslightmedia.com/
  * License: GPL2
@@ -20,7 +20,7 @@
  * @package glmMembersDatabaseEventsAddOn
  * @author Chuck Scott <cscott@gaslightmedia.com>
  * @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.2.16
+ * @version 1.2.17
  */
 
 /*
@@ -38,7 +38,7 @@
  *  so that we're sure the other add-ons see an up to date
  *  version from this plugin.
  */
-define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.2.16');
+define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.2.17');
 define('GLM_MEMBERS_EVENTS_PLUGIN_DB_VERSION', '0.0.18');
 
 // This is the minimum version of the GLM Members DB plugin require for this plugin.
index 1e4cffe..b70985c 100644 (file)
@@ -1,4 +1,4 @@
-<div id="glm-event-wrapper"> 
+<div id="glm-event-wrapper">
     <div class="row">
         {include file='front/events/searchForm.html'}
     </div>
@@ -32,7 +32,7 @@
                                         {if $event.image}<img style="float:right;" src="{$imgUrl}{$event.image}">{/if}
                                         {$event.intro}
                                         <div>
-                                            <a class="glm-read-more" href="{$siteBaseUrl}event-detail/{$event.name_slug}/?glm_event_from={$fromDate|unescape:"html"}">Read More</a>
+                                            <a class="glm-read-more" href="{$siteBaseUrl}event-detail/{$event.name_slug}/">Read More</a>
                                         </div>
                                     </div>
                                 </div>
                     </div>
                 </div>
             {/foreach}
-            
+
             <!-- Calendar -->
-            
+
             <div id="eventCalendar"></div>
-            
-            
+
+
         </div>
     </div>
 </div>
@@ -60,8 +60,8 @@
         var recurrencesInited = false;
         var locationsInited = false;
 
-/* Temporarily dissable calendar display        
-        
+/* Temporarily dissable calendar display
+
          // Get calendar month via AJAX
         function eventsCalMonthAJAX(month) {
             var data = {
@@ -73,7 +73,7 @@
                 alert(response);
             });
         }
-// Fire off for testing        
+// Fire off for testing
 var x = eventsCalMonthAJAX('123');
 
 
@@ -109,4 +109,4 @@ var x = eventsCalMonthAJAX('123');
 
 
     });
-</script>
\ No newline at end of file
+</script>