Fix for event feed on home page.
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 30 Aug 2017 20:24:33 +0000 (16:24 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 30 Aug 2017 20:24:33 +0000 (16:24 -0400)
Putting back the image.

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

index 067b83e..f3fcfe8 100644 (file)
--- a/index.php
+++ b/index.php
@@ -4,7 +4,7 @@
  * Plugin URI: http://www.gaslightmedia.com/
  * Description: Gaslight Media Members Database.
 
- * Version: 1.6.61
+ * Version: 1.6.62
 
  * Author: Chuck Scott
  * Author URI: http://www.gaslightmedia.com/
@@ -22,7 +22,7 @@
  * @author Chuck Scott <cscott@gaslightmedia.com>
  * @license http://www.gaslightmedia.com Gaslightmedia
 
- * @version 1.6.61
+ * @version 1.6.62
 
  */
 
@@ -47,7 +47,7 @@ if (!defined('ABSPATH')) {
  *  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.6.61');
+define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.6.62');
 define('GLM_MEMBERS_EVENTS_PLUGIN_DB_VERSION', '0.1.4');
 
 // This is the minimum version of the GLM Members DB plugin require for this plugin.
index c2bb0bb..46337ef 100644 (file)
@@ -9,7 +9,7 @@
     <div id="feed" class="row collapse">
         {foreach $events as $event}
         <div class="small-12 text-left medium-6 large-4 columns">
-            <a href="{$siteBaseUrl}{$pageSlug}/{if !$customPage}{$event.name_slug}/{else}?eventId={$event.id}{/if}"></a>
+            <a href="{$siteBaseUrl}{$pageSlug}/{if !$customPage}{$event.name_slug}/{else}?eventId={$event.id}{/if}"><img src="{$mainImageUrl}{$event.image}"></a>
             <a href="{$siteBaseUrl}{$pageSlug}/{if !$customPage}{$event.name_slug}/{else}?eventId={$event.id}{/if}"><h6>{$event.name}</h6></a>
             <hr>
             <span>{$event.starting_timestamp|date_format:"%b %e"}</span>