* Plugin Name: GLM Members Database Events
* Plugin URI: http://www.gaslightmedia.com/
* Description: Gaslight Media Members Database.
- * Version: 1.4.0
+ * Version: 1.4.3
* Author: Chuck Scott
* Author URI: http://www.gaslightmedia.com/
* License: GPL2
* @package glmMembersDatabaseEventsAddOn
* @author Chuck Scott <cscott@gaslightmedia.com>
* @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.4.0
+ * @version 1.4.3
*/
/*
* 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.4.0');
+define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.4.3');
define('GLM_MEMBERS_EVENTS_PLUGIN_DB_VERSION', '0.0.22');
// This is the minimum version of the GLM Members DB plugin require for this plugin.
wp_enqueue_script('event-dashboard-js');
wp_enqueue_style('jquery-style', '//ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css');
-
+ $this->postAddRecurrences = true;
switch ( $action ) {
case 'front-page':
$events = $this->getModelEventsData($categoryId, $limit);
$view = 'agenda.html';
break;
case 'event-list':
+ $this->postAddRecurrences = true;
$events = $this->getModelEventsData($categoryId);
$view = 'agenda.html';
+ $this->postAddRecurrences = false;
break;
case 'nameSearch':
// get list of names based on term
<div id="glm-event-wrapper">
+ test
<div class="row">
{include file='front/events/searchForm.html'}
</div>
<div class="row glm-event-day-event">
<div class="small-12 columns">
<h2 class="agenda-event-name">{$event.name}</h2>
- <div class='date-range-container'>( Occurring <span class="agenda-event-recur-dates">{$event.recurrences.0.from_date.date} - {$event.recurrences.0.to_date.date}</span>
+ <div class='date-range-container'>( Occurring <span class="agenda-event-recur-dates">{$event.recurrences.0.from_date.date} - {$event.recurrences.0.to_date.date}</span>
+
{if $event.recurrences.0.day_of_week.names|@count < 7 && $event.recurrences.0.day_of_week.names|@count > 0 }
<span class="agenda-days-of-week">
on