Minor changes to latest db create for sidebar area, and checking showsettings on...
authorLaury GvR <laury@gaslightmedia.com>
Thu, 14 Feb 2019 19:49:54 +0000 (14:49 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Thu, 14 Feb 2019 19:49:54 +0000 (14:49 -0500)
setup/databaseScripts/create_database_V1.1.47.sql
setup/databaseScripts/update_database_V1.1.47.sql
setup/shortcodes.php
views/front/members/list.html

index 2e4f820..c3103ce 100755 (executable)
@@ -356,7 +356,7 @@ CREATE TABLE {prefix}settings_general (
   list_pagination BOOLEAN DEFAULT '1',
   list_ajax_pagination BOOLEAN DEFAULT '0',
   list_pagination_count SMALLINT DEFAULT '20',
-  list_sidebar_area SMALLINT DEFAULT '0',
+  list_sidebar_area BOOLEAN DEFAULT '0',
   list_show_search_filters_opened BOOLEAN DEFAULT '0',
   list_show_search BOOLEAN DEFAULT '1',
   list_show_search_text BOOLEAN DEFAULT '1',
index c146d45..3b4c689 100755 (executable)
@@ -1,5 +1,5 @@
 -- Gaslight Media Members Database
--- File Created: 2019-01-02
+-- File Created: 2019-02-14
 -- Database Version: 1.1.47
 -- Database Update From Previous Version Script
 --
index 72a18e3..ba9f304 100644 (file)
@@ -116,7 +116,7 @@ if ( isset( $config['settings'] ) && $config['settings']['enable_members'] ) {
                 'marker-clusters'       => 'use_cluster_markers',
                 'search'                => 'list_show_search',
                 'search-filters-opened' => 'list_show_search_filters_opened',
-                'sidebar-area'       => 'list_sidebar_area',
+                'sidebar-area'          => 'list_sidebar_area',
                 'search-text'           => 'list_show_search_text',
                 'search-categories'     => 'list_show_search_category',
                 'search-amenities'      => 'list_show_search_amenities',
index aa0db17..0802832 100755 (executable)
     {/if} {* haveFeaturedMembers *}
 
     {if $showSettings.list_show_list && !$blankStart}
-        {if $settings.list_sidebar_area}
+        {if $showSettings.list_sidebar_area}
             <div id="listing-wrapper" class="row">
                 <div class="glm-member-list-listing-container small-12 large-8 columns">
         {/if}
             {else}
                 <div>(no {$terms.term_member_plur} listed)</div>
             {/if}
-        {if $settings.list_sidebar_area}
+        {if $showSettings.list_sidebar_area}
             </div>
             <div class="small-12 large-4 columns">
                 {get_sidebar()}