From: Laury GvR Date: Thu, 14 Feb 2019 19:49:54 +0000 (-0500) Subject: Minor changes to latest db create for sidebar area, and checking showsettings on... X-Git-Tag: v2.12.0^2~42 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=58d7ee667a60f95d5ef164d2ec19271b5f7c1b86;p=WP-Plugins%2Fglm-member-db.git Minor changes to latest db create for sidebar area, and checking showsettings on front list for it --- diff --git a/setup/databaseScripts/create_database_V1.1.47.sql b/setup/databaseScripts/create_database_V1.1.47.sql index 2e4f820b..c3103ce1 100755 --- a/setup/databaseScripts/create_database_V1.1.47.sql +++ b/setup/databaseScripts/create_database_V1.1.47.sql @@ -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', diff --git a/setup/databaseScripts/update_database_V1.1.47.sql b/setup/databaseScripts/update_database_V1.1.47.sql index c146d45f..3b4c6899 100755 --- a/setup/databaseScripts/update_database_V1.1.47.sql +++ b/setup/databaseScripts/update_database_V1.1.47.sql @@ -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 -- diff --git a/setup/shortcodes.php b/setup/shortcodes.php index 72a18e33..ba9f3044 100644 --- a/setup/shortcodes.php +++ b/setup/shortcodes.php @@ -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', diff --git a/views/front/members/list.html b/views/front/members/list.html index aa0db171..08028328 100755 --- a/views/front/members/list.html +++ b/views/front/members/list.html @@ -302,7 +302,7 @@ {/if} {* haveFeaturedMembers *} {if $showSettings.list_show_list && !$blankStart} - {if $settings.list_sidebar_area} + {if $showSettings.list_sidebar_area}
{/if} @@ -394,7 +394,7 @@ {else}
(no {$terms.term_member_plur} listed)
{/if} - {if $settings.list_sidebar_area} + {if $showSettings.list_sidebar_area}
{get_sidebar()}