Просмотр исходного кода

Ticket #4971 - Build-in API support: Default configuration.

AntonLV 4 месяцев назад
Родитель
Сommit
3c1cc5b8d6

+ 4 - 8
install/sql/app-menus.sql

@@ -6,14 +6,6 @@
 -- 'config_api' settings
 --
 
--- System
-UPDATE `sys_objects_menu` SET `config_api`='{\r\n    name: \'Dashboard\',\r\n    icon: \'LayoutDashboard\',\r\n}' WHERE `object`='sys_account_dashboard';
-UPDATE `sys_objects_menu` SET `config_api`='{\r\n    name: \'Settings\',\r\n   \r\n}' WHERE `object`='sys_account_settings_submenu';
-UPDATE `sys_objects_menu` SET `config_api`='{\r\n    items:[\r\n        {\r\n            name: \'bx_timeline\',\r\n        }, \r\n        {\r\n            name: \'create-post\',\r\n            icon: \'sdd\'\r\n        }, \r\n        {\r\n            name: \'create-discussion\',\r\n        }\r\n    ]\r\n}' WHERE `object`='sys_create_post';
-UPDATE `sys_objects_menu` SET `config_api`='{\r\n    name: \'Connections\',\r\n    icon: \'UsersFour\',\r\n    items: [\r\n        {\r\n            name: \'friends\',\r\n            icon: \'Users\'\r\n        },\r\n        {\r\n            name: \'friend-suggestions\',\r\n            icon: \'CircleUser\'\r\n        },\r\n        {\r\n            name: \'friend-requests\',\r\n            icon: \'UserPlus\'\r\n        },\r\n        {\r\n            name: \'sent-friend-requests\',\r\n            icon: \'UserCog\'\r\n        },\r\n        {\r\n            name: \'follow-suggestions\',\r\n            icon: \'ContactRound\'\r\n        },\r\n        {\r\n            name: \'followers\',\r\n            icon: \'SquareUser\'\r\n        },\r\n        {\r\n            name: \'following\',\r\n            icon: \'SquareUserRound\'\r\n        },\r\n    ],\r\n    add: [\r\n        {\r\n            icon: \'Search\',\r\n            name: \'Search\',\r\n            link: \'\',\r\n            section: \'bx_persons\',\r\n        },\r\n    ],\r\n}' WHERE `object`='sys_con_submenu';
-UPDATE `sys_objects_menu` SET `config_api`='{\r\n    name: \'Notifications\', \r\n    add:[]\r\n}' WHERE `object`='sys_ntfs_submenu';
-
-
 --
 -- 'active_api' switch
 --
@@ -78,6 +70,10 @@ UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='sys_wiki' AND `modu
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='sys_wiki' AND `module`='system' AND `name`='history';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='sys_favorite_list' AND `module`='system' AND `name`='edit';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='sys_favorite_list' AND `module`='system' AND `name`='delete';
+UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='sys_studio_account_popup' AND `module`='system' AND `name`='account';
+UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='sys_studio_account_popup' AND `module`='system' AND `name`='edit';
+UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='sys_studio_account_popup' AND `module`='system' AND `name`='language';
+UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='sys_studio_account_popup' AND `module`='system' AND `name`='logout';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='sys_con_submenu' AND `module`='system' AND `name`='friends';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='sys_con_submenu' AND `module`='system' AND `name`='friend-suggestions';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='sys_con_submenu' AND `module`='system' AND `name`='friend-requests';

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
install/sql/app-pages.sql


+ 2 - 2
install/sql/system.sql

@@ -884,8 +884,8 @@ INSERT INTO `sys_options_categories`(`type_id`, `name`, `caption`, `hidden`, `or
 SET @iCategoryId = LAST_INSERT_ID();
 
 INSERT INTO `sys_options`(`category_id`, `name`, `caption`, `value`, `type`, `extra`, `check`, `check_error`, `order`) VALUES
-(@iCategoryId, 'sys_api_root_page_guest', '_adm_stg_cpt_option_sys_api_root_page_guest', 'home', 'select', 'a:3:{s:6:"module";s:6:"system";s:6:"method";s:31:"get_options_api_root_page_guest";s:5:"class";s:13:"TemplServices";}', '', '', 1),
-(@iCategoryId, 'sys_api_root_page_member', '_adm_stg_cpt_option_sys_api_root_page_member', 'splash', 'select', 'a:3:{s:6:"module";s:6:"system";s:6:"method";s:32:"get_options_api_root_page_member";s:5:"class";s:13:"TemplServices";}', '', '', 3),
+(@iCategoryId, 'sys_api_root_page_guest', '_adm_stg_cpt_option_sys_api_root_page_guest', 'splash', 'select', 'a:3:{s:6:"module";s:6:"system";s:6:"method";s:31:"get_options_api_root_page_guest";s:5:"class";s:13:"TemplServices";}', '', '', 1),
+(@iCategoryId, 'sys_api_root_page_member', '_adm_stg_cpt_option_sys_api_root_page_member', 'home', 'select', 'a:3:{s:6:"module";s:6:"system";s:6:"method";s:32:"get_options_api_root_page_member";s:5:"class";s:13:"TemplServices";}', '', '', 3),
 (@iCategoryId, 'sys_api_menu_top', '_adm_stg_cpt_option_sys_api_menu_top', '', 'select', 'a:3:{s:6:"module";s:6:"system";s:6:"method";s:24:"get_options_api_menu_top";s:5:"class";s:13:"TemplServices";}', '', '', 5),
 (@iCategoryId, 'sys_api_context_switcher', '_adm_stg_cpt_option_sys_api_context_switcher', '', 'select', 'a:3:{s:6:"module";s:6:"system";s:6:"method";s:32:"get_options_api_context_switcher";s:5:"class";s:13:"TemplServices";}', '', '', 6),
 (@iCategoryId, 'sys_api_context_connection', '_adm_stg_cpt_option_sys_api_context_connection', '', 'select', 'a:3:{s:6:"module";s:6:"system";s:6:"method";s:34:"get_options_api_context_connection";s:5:"class";s:13:"TemplServices";}', '', '', 7),

+ 1 - 1
modules/boonex/ads/install/sql/enable-app.sql

@@ -1,5 +1,5 @@
 -- PAGES: config_api
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'post\',\r\n    top: true,\r\n    blocks: {\r\n        author: {\r\n            name: \'bx_ads:entity_author\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n            forHeader: true,\r\n        },\r\n        text: {\r\n            name: \'bx_ads:entity_text_block\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        attachments: {\r\n            name: \'bx_ads:entity_attachments\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        actions: {\r\n            name: \'bx_ads:entity_all_actions\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        \'comments-empty\': {\r\n            name: \'static:comments_empty\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        comments: {\r\n            name: \'bx_ads:entity_reviews\',\r\n            showTitle: false,\r\n            showBg: false,\r\n        },\r\n    },\r\n    headerSettings: {\r\n        header: false,\r\n        footer: false,\r\n        offset: false,\r\n        title: false,\r\n    },\r\n}' WHERE `object`='bx_ads_view_entry';
+UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'post\',\r\n    top: true,\r\n    blocks: {\r\n        author: {\r\n            name: \'bx_ads:entity_author\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n            forHeader: true,\r\n        },\r\n        text: {\r\n            name: \'bx_ads:entity_text_block\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        attachments: {\r\n            name: \'bx_ads:entity_attachments\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        actions: {\r\n            name: \'bx_ads:entity_all_actions\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        \'comments-empty\': {\r\n            name: \'static:comments_empty\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        comments: {\r\n            name: \'bx_ads:entity_reviews\',\r\n            showTitle: false,\r\n            showBg: false,\r\n        },\r\n    },\r\n    headerSettings: {\r\n        footer: false,\r\n    },\r\n}' WHERE `object`='bx_ads_view_entry';
 
 -- PAGES: active_api
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_ads_create_entry' AND `module`='bx_ads' AND `title_system`='' AND `title`='_bx_ads_page_block_title_create_entry';

+ 22 - 0
modules/boonex/credits/install/sql/enable-app.sql

@@ -0,0 +1,22 @@
+-- PAGES: config_api
+
+-- PAGES: active_api
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_credits_home' AND `module`='bx_credits' AND `title_system`='_bx_credits_page_block_title_sys_bundles' AND `title`='_bx_credits_page_block_title_bundles';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_credits_checkout' AND `module`='bx_credits' AND `title_system`='_bx_credits_page_block_title_sys_checkout' AND `title`='_bx_credits_page_block_title_checkout';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_credits_orders_common' AND `module`='bx_credits' AND `title_system`='_bx_credits_page_block_title_sys_orders_common_note' AND `title`='_bx_credits_page_block_title_orders_common_note';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_credits_orders_common' AND `module`='bx_credits' AND `title_system`='_bx_credits_page_block_title_sys_orders_common' AND `title`='_bx_credits_page_block_title_orders_common';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_credits_orders_administration' AND `module`='bx_credits' AND `title_system`='_bx_credits_page_block_title_sys_orders_administration' AND `title`='_bx_credits_page_block_title_orders_administration';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_credits_history_common' AND `module`='bx_credits' AND `title_system`='_bx_credits_page_block_title_sys_history_common' AND `title`='_bx_credits_page_block_title_history_common';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_credits_history_administration' AND `module`='bx_credits' AND `title_system`='_bx_credits_page_block_title_sys_history_administration' AND `title`='_bx_credits_page_block_title_history_administration';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_credits_profiles_administration' AND `module`='bx_credits' AND `title_system`='_bx_credits_page_block_title_sys_profiles_administration' AND `title`='_bx_credits_page_block_title_profiles_administration';
+
+-- MENUS:
+
+-- MENUS: config_api
+
+-- MENUS: active_api
+UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_credits_manage_submenu' AND `module`='bx_credits' AND `name`='credits-history-common';
+UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_credits_manage_submenu' AND `module`='bx_credits' AND `name`='credits-history-administration';
+UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_credits_manage_submenu' AND `module`='bx_credits' AND `name`='credits-orders-common';
+UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_credits_manage_submenu' AND `module`='bx_credits' AND `name`='credits-orders-administration';
+UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_credits_manage_submenu' AND `module`='bx_credits' AND `name`='credits-profiles-administration';

+ 3 - 8
modules/boonex/events/install/sql/enable-app.sql

@@ -1,7 +1,5 @@
 -- PAGES: config_api
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'profile\',\r\n    blocks: {\r\n        col00: {\r\n            name: \'system:get_create_post_form\',\r\n            showTitle: false,\r\n            showBg: false,\r\n        },\r\n        col0: {\r\n            name: \'bx_timeline:get_block_post_profile\',\r\n            showTitle: false,\r\n            showBg: false,\r\n        },\r\n        col1: {\r\n            name: \'bx_timeline:get_block_view_profile\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            perLine: 1,\r\n        },\r\n        col5: {\r\n            name: \'bx_events:sessions\',\r\n            showTitle: true,\r\n            showBg: true,\r\n            perLine: 1,\r\n            sidebar: true,\r\n            showPad: true,\r\n        },\r\n        col2: {\r\n            name: \'bx_events:entity_info\',\r\n            showTitle: true,\r\n            showBg: true,\r\n            perLine: 1,\r\n            sidebar: true,\r\n            showPad: true,\r\n        },\r\n        col3: {\r\n            name: \'bx_events:entity_text_block\',\r\n            showTitle: false,\r\n            showBg: true,\r\n            perLine: 1,\r\n            sidebar: true,\r\n            showPad: true,\r\n        },\r\n        col4: {\r\n            name: \'system:locations_map\',\r\n            showTitle: true,\r\n            showBg: true,\r\n            perLine: 1,\r\n            sidebar: true,\r\n            showPad: true,\r\n        },\r\n    },\r\n    headerSettings: {\r\n        offset: false,\r\n        header: false\r\n    },\r\n}' WHERE `object`='bx_events_view_profile';
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'navigator\',\r\n    blocks: {\r\n        browse: {\r\n            perLine: 2,\r\n            name: \'bx_events:browse_recent_profiles\',\r\n            showTitle: false,\r\n            showBg: false,\r\n        },\r\n    },\r\n}' WHERE `object`='bx_events_home';
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'navigator\',\r\n    blocks: {\r\n        browse: {\r\n            name: \'bx_events:browse_top_profiles\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            perLine: 2,\r\n        },\r\n    },\r\n}' WHERE `object`='bx_events_top';
+UPDATE `sys_pages_blocks` SET `config_api`='{\r\n\"content_type\":\"browse_simple\",\r\n\"header_more_url\":\"/events-home\",\r\n\"view\":\"row\"\r\n}' WHERE `object`='sys_explore' AND `module`='bx_events' AND `title_system`='_bx_events_page_block_title_sys_featured_entries_view_showcase';
 
 -- PAGES: active_api
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_events_create_profile' AND `module`='bx_events' AND `title_system`='' AND `title`='_bx_events_page_block_title_create_profile';
@@ -25,7 +23,6 @@ UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_events_profile_i
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_events_profile_pricing' AND `module`='bx_events' AND `title_system`='' AND `title`='_bx_events_page_block_title_profile_pricing';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_events_home' AND `module`='bx_events' AND `title_system`='' AND `title`='_bx_events_page_block_title_featured_profiles';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_events_home' AND `module`='bx_events' AND `title_system`='' AND `title`='_bx_events_page_block_title_latest_profiles';
-UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_events_home' AND `module`='bx_events' AND `title_system`='' AND `title`='_bx_events_page_block_title_past_profiles';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_events_top' AND `module`='bx_events' AND `title_system`='' AND `title`='_bx_events_page_block_title_top_profiles';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_events_context' AND `module`='bx_events' AND `title_system`='_bx_events_page_block_title_sys_entries_in_context' AND `title`='_bx_events_page_block_title_entries_in_context';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_events_context' AND `module`='bx_events' AND `title_system`='_bx_events_page_block_title_sys_calendar_in_context' AND `title`='_bx_events_page_block_title_calendar_in_context';
@@ -43,11 +40,7 @@ UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_events_favorites
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_events_favorites' AND `module`='bx_events' AND `title_system`='' AND `title`='_bx_events_page_block_title_favorites_entries_info';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_events_favorites' AND `module`='bx_events' AND `title_system`='' AND `title`='_bx_events_page_block_title_favorites_entries_actions';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_events_view_profile' AND `module`='system' AND `title_system`='_sys_page_block_title_sys_create_post_context' AND `title`='_sys_page_block_title_create_post_context';
-UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_events_view_profile' AND `module`='bx_timeline' AND `title_system`='_bx_timeline_page_block_title_system_view_profile' AND `title`='_bx_timeline_page_block_title_view_profile';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_events_joined' AND `module`='bx_events' AND `title_system`='_bx_events_page_block_title_sys_joined_calendar' AND `title`='_bx_events_page_block_title_joined_calendar';
-UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_events_upcoming' AND `module`='bx_events' AND `title_system`='' AND `title`='_bx_events_page_block_title_calendar_1700744160';
-UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_followed_events' AND `module`='bx_events' AND `title_system`='' AND `title`='_bx_events_page_block_title_calendar_1700744393';
-UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_joined_events' AND `module`='bx_events' AND `title_system`='' AND `title`='_sys_block_type_service_1700744591';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_events_view_profile' AND `module`='bx_events' AND `title_system`='' AND `title`='_bx_events_page_block_title_profile_sessions';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_events_profile_sessions' AND `module`='bx_events' AND `title_system`='' AND `title`='_bx_events_page_block_title_profile_sessions';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_events_questionnaire' AND `module`='bx_events' AND `title_system`='' AND `title`='_bx_events_page_block_title_edit_questionnaire';
@@ -73,6 +66,7 @@ UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_events_view_acti
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_events_view_actions' AND `module`='bx_events' AND `name`='profile-set-badges';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_events_view_actions' AND `module`='bx_events' AND `name`='ical-export';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_events_view_actions' AND `module`='bx_events' AND `name`='profile-actions-more';
+UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_events_view_actions' AND `module`='bx_events' AND `name`='profile-check-in';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_events_view_actions_more' AND `module`='bx_events' AND `name`='edit-event-profile';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_events_view_actions_more' AND `module`='bx_events' AND `name`='event-pricing';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_events_view_actions_more' AND `module`='bx_events' AND `name`='invite-to-event';
@@ -84,6 +78,7 @@ UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_events_view_acti
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_events_view_actions_all' AND `module`='bx_events' AND `name`='profile-fan-remove';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_events_view_actions_all' AND `module`='bx_events' AND `name`='profile-subscribe-add';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_events_view_actions_all' AND `module`='bx_events' AND `name`='profile-subscribe-remove';
+UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_events_view_actions_all' AND `module`='bx_events' AND `name`='profile-check-in';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_events_view_meta' AND `module`='bx_events' AND `name`='members';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_events_view_meta' AND `module`='bx_events' AND `name`='subscribers';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_events_view_meta' AND `module`='bx_events' AND `name`='views';

+ 1 - 1
modules/boonex/files/install/sql/enable-app.sql

@@ -1,5 +1,5 @@
 -- PAGES: config_api
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'post\',\r\n    top: true,\r\n    blocks: {\r\n        author: {\r\n            name: \'bx_files:entity_author\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n            forHeader: true,\r\n        },\r\n        text: {\r\n            name: \'bx_files:entity_text_block\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        attachments: {\r\n            name: \'bx_files:entity_attachments\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        actions: {\r\n            name: \'bx_files:entity_all_actions\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        \'comments-empty\': {\r\n            name: \'static:comments_empty\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        comments: {\r\n            name: \'bx_files:entity_comments\',\r\n            showTitle: false,\r\n            showBg: false,\r\n        },\r\n    },\r\n    headerSettings: {\r\n        header: false,\r\n        footer: false,\r\n        offset: false,\r\n        backButton: true,\r\n        title: false,\r\n    },\r\n}' WHERE `object`='bx_files_view_entry';
+UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'post\',\r\n    \r\n}' WHERE `object`='bx_files_view_entry';
 
 -- PAGES: active_api
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_files_create_entry' AND `module`='bx_files' AND `title_system`='' AND `title`='_bx_files_page_block_title_create_entry';

+ 3 - 6
modules/boonex/forum/install/sql/enable-app.sql

@@ -1,17 +1,15 @@
 -- PAGES: config_api
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'post\',\r\n    top: true,\r\n    blocks: {\r\n        author: {\r\n            name: \'bx_forum:entity_author\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n            forHeader: true,\r\n        },\r\n        text: {\r\n            name: \'bx_forum:entity_text_block\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        attachments: {\r\n            name: \'bx_forum:entity_attachments\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        actions: {\r\n            name: \'bx_forum:entity_all_actions\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        \'comments-empty\': {\r\n            name: \'static:comments_empty\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        comments: {\r\n            name: \'bx_forum:entity_comments\',\r\n            showTitle: false,\r\n            showBg: false,\r\n        },\r\n    },\r\n    headerSettings: {\r\n        header: false,\r\n        footer: false,\r\n        offset: false,\r\n        title: false,\r\n    },\r\n}' WHERE `object`='bx_forum_view_entry';
+UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'post\',\r\n}' WHERE `object`='bx_forum_view_entry';
 UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'navigator\',\r\n    blocks: {\r\n        browse: {\r\n            name: \'system:categories_list\',\r\n            showTitle: false,\r\n            showBg: false,\r\n        },\r\n        browse_sidebar: {\r\n            name: \'bx_forum:browse_popular\',\r\n            showTitle: true,\r\n            showBg: false,\r\n            sidebar: true,\r\n        },\r\n        categories: {\r\n            name: \'system:categories_list\',\r\n            showTitle: false,\r\n            showBg: true,\r\n            sidebar: false,\r\n            hidden: true,\r\n        },\r\n    },\r\n}' WHERE `object`='bx_forum_categories';
 UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'navigator\',\r\n    blocks: {\r\n        browse: {\r\n            name: \'bx_forum:browse_category\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            perLine: 1,\r\n            skeleton: \'notifications\',\r\n        },\r\n        browse_sidebar: {\r\n            name: \'bx_forum:browse_popular\',\r\n            showTitle: true,\r\n            showBg: false,\r\n            sidebar: true,\r\n        },\r\n        categories: {\r\n            name: \'system:categories_list\',\r\n            showTitle: false,\r\n            showBg: true,\r\n            sidebar: false,\r\n            hidden: true,\r\n        },\r\n    },\r\n}' WHERE `object`='bx_forum_category';
 UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'navigator\',\r\n    blocks: {\r\n        browse: {\r\n            name: \'bx_forum:browse_new\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            perLine: 1,\r\n        },\r\n        browse_sidebar: {\r\n            name: \'bx_forum:browse_popular\',\r\n            showTitle: true,\r\n            showBg: false,\r\n            sidebar: true,\r\n            unitType: \'small\',\r\n        },\r\n        categories: {\r\n            name: \'system:categories_list\',\r\n            showTitle: false,\r\n            showBg: true,\r\n            sidebar: false,\r\n            hidden: true,\r\n        },\r\n    },\r\n}' WHERE `object`='bx_forum_home';
 
+
 -- PAGES: active_api
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_forum_create_entry' AND `module`='bx_forum' AND `title_system`='' AND `title`='_bx_forum_page_block_title_create_entry';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_forum_edit_entry' AND `module`='bx_forum' AND `title_system`='' AND `title`='_bx_forum_page_block_title_edit_entry';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_forum_delete_entry' AND `module`='bx_forum' AND `title_system`='' AND `title`='_bx_forum_page_block_title_delete_entry';
-UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_forum_view_entry' AND `module`='bx_forum' AND `title_system`='' AND `title`='_bx_forum_page_block_title_entry_breadcrumb';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_forum_view_entry' AND `module`='bx_forum' AND `title_system`='' AND `title`='_bx_forum_page_block_title_entry_author';
-UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_forum_view_entry' AND `module`='bx_forum' AND `title_system`='_bx_forum_page_block_title_sys_entry_context' AND `title`='_bx_forum_page_block_title_entry_context';
-UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_forum_view_entry' AND `module`='bx_forum' AND `title_system`='' AND `title`='_bx_forum_page_block_title_entry_participants';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_forum_view_entry' AND `module`='bx_forum' AND `title_system`='' AND `title`='_bx_forum_page_block_title_entry_text';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_forum_view_entry' AND `module`='bx_forum' AND `title_system`='' AND `title`='_bx_forum_page_block_title_entry_all_actions';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_forum_view_entry' AND `module`='bx_forum' AND `title_system`='' AND `title`='_bx_forum_page_block_title_entry_attachments';
@@ -31,7 +29,7 @@ UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_forum_search' AN
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_forum_search' AND `module`='bx_forum' AND `title_system`='' AND `title`='_bx_forum_page_block_title_entries_search_results';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_forum_manage' AND `module`='bx_forum' AND `title_system`='_bx_forum_page_block_title_system_manage' AND `title`='_bx_forum_page_block_title_manage';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_forum_administration' AND `module`='bx_forum' AND `title_system`='_bx_forum_page_block_title_system_manage_administration' AND `title`='_bx_forum_page_block_title_manage';
-UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_organizations_view_profile' AND `module`='bx_forum' AND `title_system`='_bx_forum_page_block_title_sys_my_entries' AND `title`='_bx_forum_page_block_title_my_entries';
+
 
 -- MENUS:
 
@@ -68,7 +66,6 @@ UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_forum_my' AND `m
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_forum_submenu' AND `module`='bx_forum' AND `name`='discussions-home';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_forum_submenu' AND `module`='bx_forum' AND `name`='discussions-search';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_forum_submenu' AND `module`='bx_forum' AND `name`='discussions-manage';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_forum_snippet_meta_main' AND `module`='bx_forum' AND `name`='score';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_forum_snippet_meta_main' AND `module`='bx_forum' AND `name`='comments';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_forum_snippet_meta_main' AND `module`='bx_forum' AND `name`='status';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_forum_snippet_meta_counters' AND `module`='bx_forum' AND `name`='views';

+ 8 - 7
modules/boonex/groups/install/sql/enable-app.sql

@@ -1,9 +1,13 @@
 -- PAGES: config_api
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'profile\',\r\n    blocks: {\r\n        col00: {\r\n            name: \'system:get_create_post_form\',\r\n            showTitle: false,\r\n            showBg: false,\r\n        },\r\n        col1: {\r\n            name: \'bx_timeline:get_block_view_profile\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            perLine: 1,\r\n        },\r\n        leaderboard2: {\r\n            name: \'bx_reputation:get_block_widget\',\r\n            showTitle: false,\r\n            showBg: true,\r\n            sidebar: true,\r\n        },\r\n        col3: {\r\n            name: \'bx_posts:browse_public\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            sidebar: true,\r\n        },\r\n        col2: {\r\n            name: \'bx_groups:entity_info\',\r\n            showTitle: false,\r\n            showBg: true,\r\n            sidebar: true,\r\n        },\r\n        col4: {\r\n            name: \'bx_groups:entity_text_block\',\r\n            showTitle: false,\r\n            showBg: true,\r\n            sidebar: true,\r\n        },\r\n        col5: {\r\n            name: \'bx_invites:get_block_invite\',\r\n            showTitle: false,\r\n            showBg: true,\r\n            sidebar: true,\r\n        },\r\n    },\r\n    headerSettings: {\r\n        offset: false,\r\n        header: false,\r\n        cover: \'group\'\r\n    },\r\n}' WHERE `object`='bx_groups_view_profile';
+UPDATE `sys_pages_blocks` SET `config_api`='{\r\n    layout: \'navigator\',\r\n    blocks: {\r\n        browse: { name: \'system:get_results\', showTitle: false, showBg: false},\r\n        search: { name: \'system:get_form\', showTitle: false, showBg: false, sidebar: false, leftbar: true },\r\n    }\r\n}' WHERE `object`='bx_groups_search' AND `module`='bx_groups' AND `title_system`='' AND `title`='_bx_groups_page_block_title_search_results';
+UPDATE `sys_pages_blocks` SET `config_api`='{\r\n\"content_type\":\"browse_simple\",\r\n\"header_more_url\":\"/groups-home\",\r\n\"view\":\"row\"\r\n}' WHERE `object`='sys_explore' AND `module`='bx_groups' AND `title_system`='_bx_groups_page_block_title_sys_featured_entries_view_showcase';
+
 
 -- PAGES: active_api
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_groups_create_profile' AND `module`='bx_groups' AND `title_system`='' AND `title`='_bx_groups_page_block_title_create_profile';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_groups_view_profile' AND `module`='bx_groups' AND `title_system`='' AND `title`='_bx_groups_page_block_title_profile_info';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_groups_view_profile' AND `module`='bx_groups' AND `title_system`='' AND `title`='_bx_groups_page_block_title_fans';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_groups_view_profile' AND `module`='bx_groups' AND `title_system`='' AND `title`='_bx_groups_page_block_title_admins';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_groups_view_profile' AND `module`='bx_groups' AND `title_system`='' AND `title`='_bx_groups_page_block_title_profile_description';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_groups_view_profile_closed' AND `module`='bx_groups' AND `title_system`='' AND `title`='_bx_groups_page_block_title_profile_info';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_groups_view_profile_closed' AND `module`='bx_groups' AND `title_system`='' AND `title`='_bx_groups_page_block_title_fans';
@@ -31,7 +35,6 @@ UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_groups_favorites
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_groups_favorites' AND `module`='bx_groups' AND `title_system`='' AND `title`='_bx_groups_page_block_title_favorites_entries_info';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_groups_favorites' AND `module`='bx_groups' AND `title_system`='' AND `title`='_bx_groups_page_block_title_favorites_entries_actions';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_groups_view_profile' AND `module`='system' AND `title_system`='_sys_page_block_title_sys_create_post_context' AND `title`='_sys_page_block_title_create_post_context';
-UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_groups_view_profile' AND `module`='bx_timeline' AND `title_system`='_bx_timeline_page_block_title_system_view_profile' AND `title`='_bx_timeline_page_block_title_view_profile';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_groups_fans' AND `module`='bx_groups' AND `title_system`='_bx_groups_page_block_title_system_fans' AND `title`='_bx_groups_page_block_title_fans_link';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_groups_manage_item' AND `module`='bx_groups' AND `title_system`='_bx_groups_page_block_title_system_fans_manage' AND `title`='_bx_groups_page_block_title_fans_link';
 
@@ -55,12 +58,9 @@ UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_groups_view_acti
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_groups_view_actions_more' AND `module`='bx_groups' AND `name`='edit-group-profile';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_groups_view_actions_more' AND `module`='bx_groups' AND `name`='invite-to-group';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_groups_view_actions_more' AND `module`='bx_groups' AND `name`='delete-group-profile';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_groups_view_actions_all' AND `module`='bx_groups' AND `name`='join-group-profile';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_groups_view_actions_all' AND `module`='bx_groups' AND `name`='profile-fan-add';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_groups_view_actions_all' AND `module`='bx_groups' AND `name`='profile-fan-remove';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_groups_view_actions_all' AND `module`='bx_groups' AND `name`='profile-subscribe-add';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_groups_view_actions_all' AND `module`='bx_groups' AND `name`='profile-subscribe-remove';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_groups_view_actions_all' AND `module`='bx_groups' AND `name`='report';
+UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_groups_view_actions_all' AND `module`='bx_groups' AND `name`='profile-fans';
+UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_groups_view_actions_all' AND `module`='bx_groups' AND `name`='profile-subscriptions';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_groups_view_meta' AND `module`='bx_groups' AND `name`='members';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_groups_view_meta' AND `module`='bx_groups' AND `name`='views';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_groups_view_meta' AND `module`='bx_groups' AND `name`='votes';
@@ -78,5 +78,6 @@ UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_groups_snippet_m
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_groups_snippet_meta' AND `module`='bx_groups' AND `name`='leave';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_groups_snippet_meta' AND `module`='bx_groups' AND `name`='subscribe';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_groups_snippet_meta' AND `module`='bx_groups' AND `name`='unsubscribe';
+UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_groups_snippet_meta' AND `module`='bx_groups' AND `name`='ignore-join';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_groups_menu_manage_tools' AND `module`='bx_groups' AND `name`='clear-reports';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_groups_menu_manage_tools' AND `module`='bx_groups' AND `name`='delete';

+ 27 - 0
modules/boonex/market/install/sql/enable-app.sql

@@ -0,0 +1,27 @@
+-- PAGES: config_api
+UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'post\',\r\n   \r\n}' WHERE `object`='bx_market_view_entry';
+
+-- PAGES: active_api
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_market_create_entry' AND `module`='bx_market' AND `title_system`='' AND `title`='_bx_market_page_block_title_create_entry';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_market_edit_entry' AND `module`='bx_market' AND `title_system`='' AND `title`='_bx_market_page_block_title_edit_entry';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_market_delete_entry' AND `module`='bx_market' AND `title_system`='' AND `title`='_bx_market_page_block_title_delete_entry';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_market_view_entry' AND `module`='bx_market' AND `title_system`='' AND `title`='_bx_market_page_block_title_entry_text';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_market_view_entry' AND `module`='bx_market' AND `title_system`='' AND `title`='_bx_market_page_block_title_entry_all_actions';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_market_view_entry' AND `module`='bx_market' AND `title_system`='' AND `title`='_bx_market_page_block_title_entry_comments';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_market_view_entry' AND `module`='bx_market' AND `title_system`='' AND `title`='_bx_market_page_block_title_entry_info';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_market_view_entry' AND `module`='bx_market' AND `title_system`='' AND `title`='_bx_market_page_block_title_entry_author';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_market_featured' AND `module`='bx_market' AND `title_system`='' AND `title`='_bx_market_page_block_title_featured_entries';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_market_top' AND `module`='bx_market' AND `title_system`='' AND `title`='_bx_market_page_block_title_top_entries';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_market_home' AND `module`='bx_market' AND `title_system`='' AND `title`='_bx_market_page_block_title_latest_entries';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_market_manage' AND `module`='bx_market' AND `title_system`='_bx_market_page_block_title_system_manage' AND `title`='_bx_market_page_block_title_manage';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_market_administration' AND `module`='bx_market' AND `title_system`='_bx_market_page_block_title_system_manage_administration' AND `title`='_bx_market_page_block_title_manage';
+
+-- MENUS:
+
+-- MENUS: config_api
+
+-- MENUS: active_api
+UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_market_submenu' AND `module`='bx_market' AND `name`='products-home';
+UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_market_submenu' AND `module`='bx_market' AND `name`='products-featured';
+UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_market_submenu' AND `module`='bx_market' AND `name`='products-top';
+UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_market_submenu' AND `module`='bx_market' AND `name`='products-manage';

+ 0 - 1
modules/boonex/notifications/install/sql/enable-app.sql

@@ -1,5 +1,4 @@
 -- PAGES: config_api
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'navigator\',\r\n    blocks: {\r\n        browse: {\r\n            name: \'bx_notifications:get_block_view\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            perLine: 1,\r\n        },\r\n    },\r\n}' WHERE `object`='bx_notifications_view';
 
 -- PAGES: active_api
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_notifications_view' AND `module`='bx_notifications' AND `title_system`='' AND `title`='_bx_ntfs_page_block_title_view';

+ 3 - 13
modules/boonex/organizations/install/sql/enable-app.sql

@@ -3,11 +3,6 @@ INSERT INTO `sys_pages_blocks` (`object`, `cell_id`, `module`, `title_system`, `
 ('bx_organizations_view_profile', 1, 'system', '_sys_page_block_title_sys_create_post_context', '_sys_page_block_title_create_post_context', 11, '', '', 1, 4, 2147483644, '0', 'service', 'a:4:{s:6:"module";s:6:"system";s:6:"method";s:20:"get_create_post_form";s:6:"params";a:1:{i:0;s:12:"{profile_id}";}s:5:"class";s:13:"TemplServices";}', '', '', 0, '', 0, '', 1, 0, 0, 1, 0);
 
 -- PAGES: config_api
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'profile\',\r\n    blocks: {\r\n        col0: {\r\n            name: \'system:get_create_post_form\',\r\n            showTitle: false,\r\n            showBg: false,\r\n        },\r\n        col1: {\r\n            name: \'bx_timeline:get_block_view_profile\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            perLine: 1,\r\n        },\r\n        col2: {\r\n            name: \'bx_organizations:entity_info\',\r\n            showTitle: false,\r\n            showBg: true,\r\n            sidebar: true,\r\n        }\r\n    },\r\n    headerSettings: {\r\n        offset: false,\r\n        header: false\r\n    },\r\n}' WHERE `object`='bx_organizations_view_profile';
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'profile-alt\',\r\n    blocks: {\r\n        col1: {\r\n            name: \'bx_organizations:entity_edit\',\r\n            showTitle: false,\r\n            showBg: true,\r\n            sidebar: false,\r\n            perLine: 1\r\n        },\r\n        col4: {\r\n            name: \'bx_linguriamods:profile_cover\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            sidebar: false,\r\n            leftbar: true\r\n        },\r\n    },\r\n    headerSettings: {\r\n        offset: false,\r\n        header: false,\r\n        cover: \'profile\',\r\n        hideLeftmenu: true,\r\n        showAltTopMenu: true\r\n    }\r\n}' WHERE `object`='bx_organizations_edit_profile';
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'profile-alt\',\r\n    blocks: {\r\n        col1: {\r\n            name: \'bx_organizations:entity_text_block\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            perLine: 1\r\n        },\r\n        col0: {\r\n            name: \'bx_linguriamods:profile_cover\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            sidebar: false,\r\n            leftbar: true\r\n        },\r\n    },\r\n    headerSettings: {\r\n        offset: false,\r\n        header: false,\r\n        cover: \'profile\',\r\n        hideLeftmenu: true,\r\n        showAltTopMenu: true\r\n    }\r\n}' WHERE `object`='bx_organizations_profile_info';
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'profile-alt\',\r\n    blocks: {\r\n        col4: {\r\n            name: \'bx_linguriamods:profile_cover\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            sidebar: false,\r\n            leftbar: true\r\n        },\r\n        comments: {\r\n            name: \'bx_linguriamods:orgs_reviews\',\r\n            showTitle: false,\r\n            showBg: true\r\n        },\r\n    },\r\n    headerSettings: {\r\n        offset: false,\r\n        header: false,\r\n        cover: \'profile\',\r\n        hideLeftmenu: true,\r\n        showAltTopMenu: true\r\n    }\r\n}' WHERE `object`='bx_organizations_profile_comments';
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'navigator\',\r\n    blocks: {\r\n        browse: {\r\n            name: \'system:get_results\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            perLine: 2\r\n        },\r\n        search: {\r\n            name: \'system:get_form\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            sidebar: false,\r\n            leftbar: true\r\n        },\r\n    },\r\n    headerSettings: {\r\n        hideLeftmenu: true\r\n    },\r\n}' WHERE `object`='bx_organizations_home';
 
 -- PAGES: active_api
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_organizations_create_profile' AND `module`='bx_organizations' AND `title_system`='' AND `title`='_bx_orgs_page_block_title_create_profile';
@@ -15,7 +10,6 @@ UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_organizations_vi
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_organizations_view_profile' AND `module`='bx_organizations' AND `title_system`='' AND `title`='_bx_orgs_page_block_title_fans';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_organizations_view_profile' AND `module`='bx_organizations' AND `title_system`='' AND `title`='_bx_orgs_page_block_title_profile_friends';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_organizations_view_profile' AND `module`='bx_organizations' AND `title_system`='' AND `title`='_bx_orgs_page_block_title_profile_info';
-UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_organizations_view_profile' AND `module`='bx_organizations' AND `title_system`='' AND `title`='_bx_orgs_page_block_title_profile_membership';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_organizations_view_profile' AND `module`='bx_organizations' AND `title_system`='' AND `title`='_bx_orgs_page_block_title_entry_reports';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_organizations_view_profile_closed' AND `module`='bx_organizations' AND `title_system`='' AND `title`='_bx_orgs_page_block_title_profile_info';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_organizations_view_profile_closed' AND `module`='bx_organizations' AND `title_system`='' AND `title`='_bx_orgs_page_block_title_fans';
@@ -47,8 +41,6 @@ UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_organizations_fa
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_organizations_favorites' AND `module`='bx_organizations' AND `title_system`='' AND `title`='_bx_orgs_page_block_title_favorites_entries_info';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_organizations_favorites' AND `module`='bx_organizations' AND `title_system`='' AND `title`='_bx_orgs_page_block_title_favorites_entries_actions';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_organizations_view_profile' AND `module`='bx_posts' AND `title_system`='_bx_posts_page_block_title_sys_my_entries' AND `title`='_bx_posts_page_block_title_my_entries';
-UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_organizations_view_profile' AND `module`='bx_timeline' AND `title_system`='_bx_timeline_page_block_title_system_post_profile' AND `title`='_bx_timeline_page_block_title_post_profile';
-UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_organizations_view_profile' AND `module`='bx_timeline' AND `title_system`='_bx_timeline_page_block_title_system_view_profile' AND `title`='_bx_timeline_page_block_title_view_profile';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_organizations_view_profile' AND `module`='bx_organizations' AND `title_system`='_bx_orgs_page_block_title_sys_joined_entries' AND `title`='_bx_orgs_page_block_title_joined_entries';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_persons_view_profile' AND `module`='bx_organizations' AND `title_system`='_bx_orgs_page_block_title_sys_joined_entries' AND `title`='_bx_orgs_page_block_title_joined_entries';
 
@@ -80,16 +72,14 @@ UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_organizations_vi
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_organizations_view_actions' AND `module`='bx_organizations' AND `name`='profile-actions-more';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_organizations_view_actions_more' AND `module`='bx_organizations' AND `name`='edit-organization-profile';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_organizations_view_actions_more' AND `module`='bx_organizations' AND `name`='edit-organization-pricing';
+UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_organizations_view_actions_more' AND `module`='bx_organizations' AND `name`='edit-organization-badge';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_organizations_view_actions_more' AND `module`='bx_organizations' AND `name`='invite-to-organization';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_organizations_view_actions_more' AND `module`='bx_organizations' AND `name`='delete-organization-profile';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_organizations_view_actions_more' AND `module`='bx_organizations' AND `name`='delete-organization-account';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_organizations_view_actions_more' AND `module`='bx_organizations' AND `name`='delete-organization-account-content';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_organizations_view_actions_more' AND `module`='bx_organizations' AND `name`='edit-organization-badge';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_organizations_view_actions_all' AND `module`='bx_organizations' AND `name`='profile-fan-add';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_organizations_view_actions_all' AND `module`='bx_organizations' AND `name`='profile-fan-remove';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_organizations_view_actions_all' AND `module`='bx_organizations' AND `name`='profile-subscribe-add';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_organizations_view_actions_all' AND `module`='bx_organizations' AND `name`='profile-subscribe-remove';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_organizations_view_actions_all' AND `module`='bx_organizations' AND `name`='report';
+UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_organizations_view_actions_all' AND `module`='bx_organizations' AND `name`='profile-fans';
+UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_organizations_view_actions_all' AND `module`='bx_organizations' AND `name`='profile-subscriptions';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_organizations_view_meta' AND `module`='bx_organizations' AND `name`='membership';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_organizations_view_meta' AND `module`='bx_organizations' AND `name`='badges';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_organizations_view_meta' AND `module`='bx_organizations' AND `name`='members';

+ 2 - 14
modules/boonex/persons/install/sql/enable-app.sql

@@ -3,26 +3,18 @@ INSERT INTO `sys_pages_blocks` (`object`, `cell_id`, `module`, `title_system`, `
 ('bx_persons_view_profile', 1, 'system', '_sys_page_block_title_sys_create_post', '_sys_page_block_title_create_post', 11, '', '', 1, 4, 2147483644, '0', 'service', 'a:4:{s:6:"module";s:6:"system";s:6:"method";s:20:"get_create_post_form";s:6:"params";a:1:{i:0;s:12:"{profile_id}";}s:5:"class";s:13:"TemplServices";}', '', '', 0, '', 0, '', 1, 0, 0, 1, 0);
 
 -- PAGES: config_api
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'profile\', \r\n    blocks: {\r\n        col0: {\r\n            name: \'system:get_create_post_form\',\r\n           \r\n        },\r\n        col1: {\r\n            name: \'bx_timeline:get_block_view_profile\',\r\n            \r\n            perLine: 1,\r\n        },\r\n        col3: {\r\n            name: \'bx_persons:entity_info\',\r\n           \r\n            sidebar: true,\r\n        },\r\n    },\r\n    headerSettings: {\r\n    \r\n        hideLeftmenu: true,\r\n        showAltTopMenu: true,\r\n    },\r\n}' WHERE `object`='bx_persons_view_profile';
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'profile-alt\',\r\n    blocks: {\r\n        col4: {\r\n            name: \'bx_linguriamods:profile_cover\', \r\n            showTitle: false, \r\n            showBg: false, \r\n            sidebar: false, \r\n            leftbar: true \r\n        },\r\n        col5: { \r\n            name: \'bx_persons:private_profile_msg\', \r\n            showTitle: false, \r\n            showBg: true, \r\n            sidebar: false, \r\n            perLine: 1 \r\n        },\r\n    },\r\n    headerSettings: { \r\n        offset: false, \r\n        header: false, \r\n        cover: \'profile\', \r\n        hideLeftmenu: true, \r\n        showAltTopMenu: true \r\n    }\r\n}' WHERE `object`='bx_persons_view_profile_closed';
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'profile-alt\',\r\n    blocks: {\r\n        col1: {\r\n            name: \'bx_persons:entity_edit\',\r\n            showTitle: false,\r\n            showBg: true,\r\n            sidebar: false,\r\n            perLine: 1\r\n        },\r\n        col4: { \r\n            name: \'bx_linguriamods:profile_cover\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            sidebar: false,\r\n            leftbar: true\r\n        },\r\n    },\r\n    headerSettings: {\r\n        offset: false,\r\n        header: false,\r\n        cover: \'profile\',\r\n        hideLeftmenu: true,\r\n        showAltTopMenu: true\r\n    }\r\n}' WHERE `object`='bx_persons_edit_profile';
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'profile\',\r\n    blocks: {\r\n        col1: {\r\n            name: \'bx_persons:entity_info_full\',\r\n            showTitle: false,\r\n            showBg: true,\r\n            showPad: true,\r\n            leftbar: true,\r\n        },\r\n        col2: {\r\n            name: \'bx_persons:entity_text_block\',\r\n            showTitle: false,\r\n            showBg: true,\r\n            sidebar: false,\r\n        },\r\n    },\r\n    headerSettings: {\r\n        offset: false,\r\n        header: false,\r\n        cover: \'profile\',\r\n        hideLeftmenu: true,\r\n        showAltTopMenu: true,\r\n    },\r\n}' WHERE `object`='bx_persons_profile_info';
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'profile\',\r\n    blocks: {\r\n        col2: {\r\n            name: \'system:connections_table\',\r\n            showTitle: false,\r\n            showBg: true,\r\n            sidebar: false,\r\n        },\r\n    },\r\n    headerSettings: {\r\n        offset: false,\r\n        header: false,\r\n        cover: \'profile\',\r\n        hideLeftmenu: true,\r\n        showAltTopMenu: true,\r\n    },\r\n}' WHERE `object`='bx_persons_profile_friends';
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'profile\',\r\n    blocks: {\r\n        col2: {\r\n            name: \'system:subscribed_me_table\',\r\n            showTitle: false,\r\n            showBg: true,\r\n            sidebar: false,\r\n        },\r\n    },\r\n    headerSettings: {\r\n        offset: false,\r\n        header: false,\r\n        cover: \'profile\',\r\n        hideLeftmenu: true,\r\n        showAltTopMenu: true,\r\n    },\r\n}' WHERE `object`='bx_persons_profile_subscriptions';
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'profile-alt\',\r\n    blocks: {\r\n        col4: { \r\n            name: \'bx_linguriamods:profile_cover\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            sidebar: false,\r\n            leftbar: true\r\n        },\r\n        comments: {\r\n            name: \'bx_linguriamods:persons_reviews\',\r\n            showTitle: false,\r\n            showBg: true\r\n        },\r\n        col5: {\r\n            name: \'bx_persons:private_profile_msg\',\r\n            showTitle: false,\r\n            showBg: true,\r\n            sidebar: false,\r\n            perLine: 1\r\n        },\r\n    },\r\n    headerSettings: {\r\n        offset: false,\r\n        header: false,\r\n        cover: \'profile\',\r\n        hideLeftmenu: true,\r\n        showAltTopMenu: true\r\n    }\r\n}' WHERE `object`='bx_persons_profile_comments';
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'navigator\',\r\n    blocks: {\r\n        browse: { name: \'system:get_results\', showTitle: false, showBg: false, perLine: 2 },\r\n        search: { name: \'system:get_form\', showTitle: false, showBg: false, sidebar: false, leftbar: true },\r\n    },\r\n    headerSettings: { hideLeftmenu: true },\r\n}' WHERE `object`='bx_persons_home';
+UPDATE `sys_pages_blocks` SET `config_api`='{\r\n\"content_type\":\"browse_simple\",\r\n\"header_more_url\":\"/persons-home\",\r\n\"view\":\"row\"\r\n}' WHERE `object`='sys_explore' AND `module`='bx_persons' AND `title_system`='_bx_persons_page_block_title_sys_featured_entries_view_showcase' AND `title`='_bx_persons_page_block_title_featured_entries_view_showcase_1759743271';
 
 -- PAGES: active_api
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_persons_create_profile' AND `module`='bx_persons' AND `title_system`='' AND `title`='_bx_persons_page_block_title_create_profile';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_persons_view_profile' AND `module`='bx_persons' AND `title_system`='_bx_persons_page_block_title_sys_cover_block' AND `title`='_bx_persons_page_block_title_cover_block';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_persons_view_profile' AND `module`='bx_persons' AND `title_system`='' AND `title`='_bx_persons_page_block_title_profile_description';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_persons_view_profile' AND `module`='bx_persons' AND `title_system`='' AND `title`='_bx_persons_page_block_title_profile_friends';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_persons_view_profile' AND `module`='bx_persons' AND `title_system`='' AND `title`='_bx_persons_page_block_title_profile_relations';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_persons_view_profile' AND `module`='bx_persons' AND `title_system`='' AND `title`='_bx_persons_page_block_title_profile_info';
-UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_persons_view_profile' AND `module`='bx_persons' AND `title_system`='' AND `title`='_bx_persons_page_block_title_profile_membership';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_persons_view_profile' AND `module`='bx_persons' AND `title_system`='' AND `title`='_bx_persons_page_block_title_profile_location';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_persons_view_profile_closed' AND `module`='bx_persons' AND `title_system`='' AND `title`='_bx_persons_page_block_title_profile_private';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_persons_edit_profile' AND `module`='bx_persons' AND `title_system`='' AND `title`='_bx_persons_page_block_title_edit_profile';
-UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_persons_edit_badge' AND `module`='bx_persons' AND `title_system`='' AND `title`='_bx_persons_page_block_title_edit_profile_badge';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_persons_delete_profile' AND `module`='bx_persons' AND `title_system`='' AND `title`='_bx_persons_page_block_title_delete_profile';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_persons_profile_info' AND `module`='bx_persons' AND `title_system`='_bx_persons_page_block_title_system_profile_info' AND `title`='_bx_persons_page_block_title_profile_info_link';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_persons_profile_info' AND `module`='bx_persons' AND `title_system`='' AND `title`='_bx_persons_page_block_title_profile_description';
@@ -40,7 +32,6 @@ UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_persons_search'
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_persons_search' AND `module`='bx_persons' AND `title_system`='' AND `title`='_bx_persons_page_block_title_search_results';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_persons_manage' AND `module`='bx_persons' AND `title_system`='_bx_persons_page_block_title_system_manage' AND `title`='_bx_persons_page_block_title_manage';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_persons_administration' AND `module`='bx_persons' AND `title_system`='_bx_persons_page_block_title_system_manage_administration' AND `title`='_bx_persons_page_block_title_manage';
-UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_persons_profile_subscriptions1' AND `module`='bx_persons' AND `title_system`='_bx_persons_page_block_title_system_profile_subscriptions' AND `title`='_bx_persons_page_block_title_profile_subscriptions';
 
 -- MENUS:
 
@@ -89,12 +80,9 @@ UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_persons_view_sub
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_persons_view_submenu' AND `module`='bx_persons' AND `name`='persons-profile-info';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_persons_view_submenu' AND `module`='bx_persons' AND `name`='persons-profile-friends';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_persons_view_submenu' AND `module`='bx_persons' AND `name`='persons-profile-subscriptions';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_persons_snippet_meta' AND `module`='bx_persons' AND `name`='befriend';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_persons_snippet_meta' AND `module`='bx_persons' AND `name`='subscribe';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_persons_snippet_meta' AND `module`='bx_persons' AND `name`='ignore-befriend';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_persons_snippet_meta' AND `module`='bx_persons' AND `name`='ignore-subscribe';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_persons_snippet_meta' AND `module`='bx_persons' AND `name`='unfriend';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_persons_snippet_meta' AND `module`='bx_persons' AND `name`='unsubscribe';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_persons_menu_manage_tools' AND `module`='bx_persons' AND `name`='clear-reports';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_persons_menu_manage_tools' AND `module`='bx_persons' AND `name`='manage-cf';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_persons_menu_manage_tools' AND `module`='bx_persons' AND `name`='delete-with-content';

+ 1 - 1
modules/boonex/photos/install/sql/enable-app.sql

@@ -1,5 +1,5 @@
 -- PAGES: config_api
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'post\',\r\n    top: true,\r\n    blocks: {\r\n        author: {\r\n            name: \'bx_photos:entity_author\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n            forHeader: true,\r\n        },\r\n        text: {\r\n            name: \'bx_photos:entity_text_block\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        attachments: {\r\n            name: \'bx_photos:entity_attachments\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        actions: {\r\n            name: \'bx_photos:entity_all_actions\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        \'comments-empty\': {\r\n            name: \'static:comments_empty\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        comments: {\r\n            name: \'bx_photos:entity_comments\',\r\n            showTitle: false,\r\n            showBg: false,\r\n        },\r\n    },\r\n    headerSettings: {\r\n        header: false,\r\n        footer: false,\r\n        offset: false,\r\n        backButton: true,\r\n        title: false,\r\n    },\r\n}' WHERE `object`='bx_photos_view_entry';
+UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'post\',\r\n   \r\n}' WHERE `object`='bx_photos_view_entry';
 
 -- PAGES: active_api
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_photos_create_entry' AND `module`='bx_photos' AND `title_system`='' AND `title`='_bx_photos_page_block_title_create_entry';

+ 1 - 1
modules/boonex/polls/install/sql/enable-app.sql

@@ -1,5 +1,5 @@
 -- PAGES: config_api
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'post\',\r\n    top: true,\r\n    blocks: {\r\n        author: {\r\n            name: \'bx_polls:entity_author\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n            forHeader: true,\r\n        },\r\n        text: {\r\n            name: \'bx_polls:get_block_text_and_subentries\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        attachments: {\r\n            name: \'bx_polls:entity_attachments\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        actions: {\r\n            name: \'bx_polls:entity_all_actions\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        \'comments-empty\': {\r\n            name: \'static:comments_empty\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        comments: {\r\n            name: \'bx_polls:entity_comments\',\r\n            showTitle: false,\r\n            showBg: false,\r\n        },\r\n    },\r\n    headerSettings: {\r\n        header: false,\r\n        footer: false,\r\n        offset: false,\r\n        backButton: true,\r\n        title: false,\r\n    },\r\n}' WHERE `object`='bx_polls_view_entry';
+UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'post\',\r\n   \r\n}' WHERE `object`='bx_polls_view_entry';
 
 -- PAGES: active_api
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_polls_create_entry' AND `module`='bx_polls' AND `title_system`='' AND `title`='_bx_polls_page_block_title_create_entry';

+ 4 - 33
modules/boonex/posts/install/sql/enable-app.sql

@@ -1,6 +1,7 @@
 -- PAGES: config_api
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'post\',\r\n    top: true,\r\n    blocks: {\r\n        author: {\r\n            name: \'bx_posts:entity_author\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n            forHeader: true,\r\n        },\r\n        text: {\r\n            name: \'bx_posts:entity_text_block\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        attachments: {\r\n            name: \'bx_posts:entity_attachments\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        actions: {\r\n            name: \'bx_posts:entity_all_actions\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        \'comments-empty\': {\r\n            name: \'static:comments_empty\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        comments: {\r\n            name: \'bx_posts:entity_comments\',\r\n            showTitle: false,\r\n            showBg: false,\r\n        },\r\n    },\r\n    headerSettings: {\r\n        header: false,\r\n        footer: false,\r\n        offset: false,\r\n        backButton: true,\r\n        title: false,\r\n    },\r\n}' WHERE `object`='bx_posts_view_entry';
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'navigator\',\r\n    blocks: {\r\n        browse: {\r\n            name: \'bx_posts:browse_public\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            perLine: 1,\r\n            unitType: \'small\',\r\n        },\r\n        browse_sidebar: {\r\n            name: \'bx_posts:browse_featured\',\r\n            showTitle: true,\r\n            showBg: false,\r\n            sidebar: true,\r\n        },\r\n    },\r\n}' WHERE `object`='bx_posts_home';
+UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'post\',\r\n}' WHERE `object`='bx_posts_view_entry';
+
+UPDATE `sys_pages_blocks` SET `config_api`='{\r\n\"content_type\":\"browse_simple\",\r\n\"header_more_url\":\"/posts-home\",\r\n\"view\":\"row\"\r\n}' WHERE `object`='sys_explore' AND `module`='bx_posts' AND `title_system`='_bx_posts_page_block_title_sys_featured_entries_view_showcase';
 
 -- PAGES: active_api
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_posts_create_entry' AND `module`='bx_posts' AND `title_system`='' AND `title`='_bx_posts_page_block_title_create_entry';
@@ -12,10 +13,10 @@ UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_posts_view_entry
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_posts_view_entry' AND `module`='bx_posts' AND `title_system`='_bx_posts_page_block_title_sys_entry_context' AND `title`='_bx_posts_page_block_title_entry_context';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_posts_view_entry' AND `module`='bx_posts' AND `title_system`='' AND `title`='_bx_posts_page_block_title_entry_info';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_posts_view_entry' AND `module`='bx_posts' AND `title_system`='' AND `title`='_bx_posts_page_block_title_entry_all_actions';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_posts_view_entry' AND `module`='bx_posts' AND `title_system`='' AND `title`='_bx_posts_page_block_title_entry_actions';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_posts_view_entry' AND `module`='bx_posts' AND `title_system`='' AND `title`='_bx_posts_page_block_title_entry_attachments';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_posts_view_entry' AND `module`='bx_posts' AND `title_system`='' AND `title`='_bx_posts_page_block_title_entry_comments';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_posts_view_entry' AND `module`='bx_posts' AND `title_system`='' AND `title`='_bx_posts_page_block_title_entry_location';
-UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_posts_view_entry' AND `module`='bx_posts' AND `title_system`='' AND `title`='_bx_posts_page_block_title_entry_polls';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_posts_view_entry' AND `module`='bx_posts' AND `title_system`='' AND `title`='_bx_posts_page_block_title_featured_entries_view_extended';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_posts_view_entry_comments' AND `module`='bx_posts' AND `title_system`='_bx_posts_page_block_title_entry_comments' AND `title`='_bx_posts_page_block_title_entry_comments_link';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_posts_popular' AND `module`='bx_posts' AND `title_system`='' AND `title`='_bx_posts_page_block_title_popular_entries';
@@ -36,36 +37,6 @@ UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_posts_search' AN
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_posts_manage' AND `module`='bx_posts' AND `title_system`='_bx_posts_page_block_title_system_manage' AND `title`='_bx_posts_page_block_title_manage';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_posts_administration' AND `module`='bx_posts' AND `title_system`='_bx_posts_page_block_title_system_manage_administration' AND `title`='_bx_posts_page_block_title_manage';
 
--- PAGES: menus_api
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='sys_homepage' AND `module`='bx_posts' AND `name`='posts-home';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='sys_add_content_links' AND `module`='bx_posts' AND `name`='create-post';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_posts_entry_attachments' AND `module`='bx_posts' AND `name`='photo_html5';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_posts_entry_attachments' AND `module`='bx_posts' AND `name`='video_html5';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_posts_entry_attachments' AND `module`='bx_posts' AND `name`='video_record_video';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_posts_entry_attachments' AND `module`='bx_posts' AND `name`='sound_html5';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_posts_entry_attachments' AND `module`='bx_posts' AND `name`='file_html5';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_posts_entry_attachments' AND `module`='bx_posts' AND `name`='poll';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_posts_entry_attachments' AND `module`='bx_posts' AND `name`='add-link';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_posts_view' AND `module`='bx_posts' AND `name`='edit-post';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_posts_view' AND `module`='bx_posts' AND `name`='delete-post';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_posts_view' AND `module`='bx_posts' AND `name`='approve';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_posts_view_actions' AND `module`='bx_posts' AND `name`='edit-post';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_posts_view_actions' AND `module`='bx_posts' AND `name`='delete-post';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_posts_view_actions' AND `module`='bx_posts' AND `name`='comment';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_posts_view_actions' AND `module`='bx_posts' AND `name`='reaction';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_posts_view_actions' AND `module`='bx_posts' AND `name`='score';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_posts_view_actions' AND `module`='bx_posts' AND `name`='favorite';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_posts_view_actions' AND `module`='bx_posts' AND `name`='feature';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_posts_view_actions' AND `module`='bx_posts' AND `name`='report';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_posts_my' AND `module`='bx_posts' AND `name`='create-post';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_posts_submenu' AND `module`='bx_posts' AND `name`='posts-home';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_posts_submenu' AND `module`='bx_posts' AND `name`='posts-popular';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_posts_submenu' AND `module`='bx_posts' AND `name`='posts-manage';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_posts_snippet_meta' AND `module`='bx_posts' AND `name`='author';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_posts_snippet_meta' AND `module`='bx_posts' AND `name`='date';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='sys_profile_stats' AND `module`='bx_posts' AND `name`='profile-stats-my-posts';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='sys_account_dashboard_manage_tools' AND `module`='bx_posts' AND `name`='posts-administration';
-
 
 -- MENUS:
 

+ 0 - 4
modules/boonex/spaces/install/sql/enable-app.sql

@@ -1,5 +1,4 @@
 -- PAGES: config_api
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'profile\',\r\n    blocks: {\r\n        col3: {\r\n            name: \'bx_spaces:entity_cover\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            showPad: false,\r\n            sidebar: true,\r\n            list: true,\r\n        },\r\n        col001: {\r\n            name: \'bx_spaces:fans\',\r\n            showTitle: true,\r\n            showBg: true,\r\n            showPad: true,\r\n        },\r\n        col002: {\r\n            name: \'bx_spaces:admins\',\r\n            showTitle: true,\r\n            showBg: true,\r\n            showPad: true,\r\n        },\r\n        col00: {\r\n            name: \'system:get_create_post_form\',\r\n            showTitle: false,\r\n            showBg: false,\r\n        },\r\n        col1: {\r\n            name: \'bx_timeline:get_block_view_profile\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            perLine: 1,\r\n        },                \r\n        col2: {\r\n            name: \'bx_spaces:entity_info\',\r\n            showTitle: false,\r\n            showBg: true,\r\n            showPad: true,\r\n            sidebar: true,\r\n        },\r\n        col4: {\r\n            name: \'bx_spaces:entity_text_block\',\r\n            showTitle: false,\r\n            showBg: true,\r\n            showPad: true,\r\n            sidebar: true,\r\n        },\r\n    },\r\n}' WHERE `object`='bx_spaces_view_profile';
 
 -- PAGES: active_api
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_spaces_create_profile' AND `module`='bx_spaces' AND `title_system`='' AND `title`='_bx_spaces_page_block_title_create_profile';
@@ -36,7 +35,6 @@ UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_spaces_favorites
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_spaces_favorites' AND `module`='bx_spaces' AND `title_system`='' AND `title`='_bx_spaces_page_block_title_favorites_entries_info';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_spaces_favorites' AND `module`='bx_spaces' AND `title_system`='' AND `title`='_bx_spaces_page_block_title_favorites_entries_actions';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_spaces_view_profile' AND `module`='system' AND `title_system`='_sys_page_block_title_sys_create_post_context' AND `title`='_sys_page_block_title_create_post_context';
-UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_spaces_view_profile' AND `module`='bx_timeline' AND `title_system`='_bx_timeline_page_block_title_system_view_profile' AND `title`='_bx_timeline_page_block_title_view_profile';
 
 
 -- MENUS:
@@ -53,8 +51,6 @@ UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='sys_account_dashboa
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_spaces_view_actions' AND `module`='bx_spaces' AND `name`='join-space-profile';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_spaces_view_actions' AND `module`='bx_spaces' AND `name`='profile-fan-add';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_spaces_view_actions' AND `module`='bx_spaces' AND `name`='profile-subscribe-add';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_spaces_view_actions' AND `module`='bx_spaces' AND `name`='profile-fan-remove';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_spaces_view_actions' AND `module`='bx_spaces' AND `name`='profile-subscribe-remove';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_spaces_view_actions_more' AND `module`='bx_spaces' AND `name`='edit-space-profile';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_spaces_view_actions_more' AND `module`='bx_spaces' AND `name`='edit-space-pricing';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_spaces_view_actions_more' AND `module`='bx_spaces' AND `name`='delete-space-profile';

+ 10 - 4
modules/boonex/timeline/install/sql/enable-app.sql

@@ -17,9 +17,10 @@ INSERT INTO `sys_pages_blocks` (`object`, `cell_id`, `module`, `title_system`, `
 ('bx_organizations_view_profile', 1, 'bx_timeline', '_bx_timeline_page_block_title_system_view_profile', '', 0, '', '', 0, 0, 2147483647, '', 'service', 'a:3:{s:6:"module";s:11:"bx_timeline";s:6:"method";s:22:"get_block_view_profile";s:6:"params";a:1:{i:0;s:6:"{type}";}}', '', '', 0, '', 0, '', 1, 0, 0, 1, 0);
 
 -- PAGES: config_api
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'post\',\r\n    top: true,\r\n    blocks: {\r\n        author: {\r\n            name: \'bx_timeline:get_block_item_info\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n            forHeader: true,\r\n        },\r\n        text: {\r\n            name: \'bx_timeline:get_block_item\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        \'comments-empty\': {\r\n            name: \'static:comments_empty\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        comments: {\r\n            name: \'bx_timeline:get_block_item_comments\',\r\n            showTitle: false,\r\n            showBg: false,\r\n        },\r\n    },\r\n    headerSettings: {\r\n        header: false, \r\n        footer: false, \r\n        offset: false\r\n    },\r\n}' WHERE `object`='bx_timeline_item';
+UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'post\',\r\n}' WHERE `object`='bx_timeline_item';
 
 -- PAGES: active_api
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_persons_view_profile' AND `module`='bx_timeline' AND `title_system`='_bx_timeline_page_block_title_system_view_profile' AND `title`='_bx_timeline_page_block_title_view_profile';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_timeline_view' AND `module`='bx_timeline' AND `title_system`='_bx_timeline_page_block_title_system_post_profile' AND `title`='_bx_timeline_page_block_title_post_profile';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_timeline_view_home' AND `module`='bx_timeline' AND `title_system`='_bx_timeline_page_block_title_system_post_home' AND `title`='_bx_timeline_page_block_title_post_home';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_timeline_view_home' AND `module`='bx_timeline' AND `title_system`='_bx_timeline_page_block_title_system_view_home_outline' AND `title`='_bx_timeline_page_block_title_view_home_outline';
@@ -31,8 +32,12 @@ UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_timeline_item_br
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_timeline_manage' AND `module`='bx_timeline' AND `title_system`='' AND `title`='_bx_timeline_page_block_title_manage_own';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_timeline_manage' AND `module`='bx_timeline' AND `title_system`='' AND `title`='_bx_timeline_page_block_title_muted';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_timeline_administration' AND `module`='bx_timeline' AND `title_system`='_bx_timeline_page_block_title_system_manage_administration' AND `title`='_bx_timeline_page_block_title_manage';
-UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_persons_view_profile' AND `module`='bx_timeline' AND `title_system`='_bx_timeline_page_block_title_system_view_profile' AND `title`='_bx_timeline_page_block_title_view_profile';
-UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='sys_home' AND `module`='bx_timeline' AND `title_system`='_bx_timeline_page_block_title_system_post_home' AND `title`='_bx_timeline_page_block_title_post_home';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_organizations_view_profile' AND `module`='bx_timeline' AND `title_system`='_bx_timeline_page_block_title_system_post_profile' AND `title`='_bx_timeline_page_block_title_post_profile';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_organizations_view_profile' AND `module`='bx_timeline' AND `title_system`='_bx_timeline_page_block_title_system_view_profile' AND `title`='_bx_timeline_page_block_title_view_profile';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_groups_view_profile' AND `module`='bx_timeline' AND `title_system`='_bx_timeline_page_block_title_system_view_profile' AND `title`='_bx_timeline_page_block_title_view_profile';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_events_view_profile' AND `module`='bx_timeline' AND `title_system`='_bx_timeline_page_block_title_system_view_profile' AND `title`='_bx_timeline_page_block_title_view_profile';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_spaces_view_profile' AND `module`='bx_timeline' AND `title_system`='_bx_timeline_page_block_title_system_view_profile' AND `title`='_bx_timeline_page_block_title_view_profile';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='sys_home' AND `module`='bx_timeline' AND `title_system`='_bx_timeline_page_block_title_system_view_home' AND `title`='_bx_timeline_page_block_title_view_home_1680082327';
 
 
 -- MENUS:
@@ -55,7 +60,6 @@ UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_timeline_menu_it
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_timeline_menu_item_share' AND `module`='bx_timeline' AND `name`='item-repost-with';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_timeline_menu_item_share' AND `module`='bx_timeline' AND `name`='item-repost-to';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_timeline_menu_item_share' AND `module`='bx_timeline' AND `name`='item-send';
-UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_timeline_menu_item_share' AND `module`='bx_timeline' AND `name`='item-copy';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_timeline_menu_item_manage' AND `module`='bx_timeline' AND `name`='item-report';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_timeline_menu_item_manage' AND `module`='bx_timeline' AND `name`='item-edit';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_timeline_menu_item_manage' AND `module`='bx_timeline' AND `name`='item-delete';
@@ -76,9 +80,11 @@ UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_timeline_menu_it
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_timeline_menu_item_actions_all' AND `module`='bx_timeline' AND `name`='item-edit';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_timeline_menu_item_actions_all' AND `module`='bx_timeline' AND `name`='item-delete';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_timeline_menu_item_actions_all' AND `module`='bx_timeline' AND `name`='more-auto';
+UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_timeline_menu_item_counters' AND `module`='bx_timeline' AND `name`='item-view';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_timeline_menu_item_counters' AND `module`='bx_timeline' AND `name`='item-reaction';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_timeline_menu_item_counters' AND `module`='bx_timeline' AND `name`='item-comment';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_timeline_menu_item_meta' AND `module`='bx_timeline' AND `name`='date';
+UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_timeline_menu_item_share' AND `module`='bx_timeline' AND `name`='item-copy';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_timeline_menu_post_attachments' AND `module`='bx_timeline' AND `name`='add-link';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_timeline_menu_post_attachments' AND `module`='bx_timeline' AND `name`='add-photo-html5';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_timeline_menu_post_attachments' AND `module`='bx_timeline' AND `name`='add-video-html5';

+ 2 - 2
modules/boonex/videos/install/sql/enable-app.sql

@@ -1,5 +1,5 @@
 -- PAGES: config_api
-UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'post\',\r\n    top: true,\r\n    blocks: {\r\n        author: {\r\n            name: \'bx_videos:entity_author\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n            forHeader: true,\r\n        },\r\n        text: {\r\n            name: \'bx_videos:entity_text_block\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        attachments: {\r\n            name: \'bx_videos:entity_attachments\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        actions: {\r\n            name: \'bx_videos:entity_all_actions\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        \'comments-empty\': {\r\n            name: \'static:comments_empty\',\r\n            showTitle: false,\r\n            showBg: false,\r\n            forList: true,\r\n        },\r\n        comments: {\r\n            name: \'bx_videos:entity_comments\',\r\n            showTitle: false,\r\n            showBg: false,\r\n        },\r\n    },\r\n    headerSettings: {\r\n        header: false,\r\n        footer: false,\r\n        offset: false,\r\n        backButton: true,\r\n        title: false,\r\n    },\r\n}' WHERE `object`='bx_videos_view_entry';
+UPDATE `sys_objects_page` SET `config_api`='{\r\n    layout: \'post\',\r\n   \r\n}' WHERE `object`='bx_videos_view_entry';
 
 -- PAGES: active_api
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_videos_create_entry' AND `module`='bx_videos' AND `title_system`='' AND `title`='_bx_videos_page_block_title_create_entry';
@@ -13,7 +13,6 @@ UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_videos_view_entr
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_videos_view_entry' AND `module`='bx_videos' AND `title_system`='' AND `title`='_bx_videos_page_block_title_entry_comments';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_videos_view_entry' AND `module`='bx_videos' AND `title_system`='' AND `title`='_bx_videos_page_block_title_entry_location';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_videos_view_entry' AND `module`='bx_videos' AND `title_system`='' AND `title`='_bx_videos_page_block_title_featured_entries_view_extended';
-UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_videos_view_entry' AND `module`='bx_videos' AND `title_system`='' AND `title`='_bx_videos_page_block_title_entry_reports';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_videos_view_entry_comments' AND `module`='bx_videos' AND `title_system`='_bx_videos_page_block_title_entry_comments' AND `title`='_bx_videos_page_block_title_entry_comments_link';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_videos_popular' AND `module`='bx_videos' AND `title_system`='' AND `title`='_bx_videos_page_block_title_popular_entries';
 UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_videos_top' AND `module`='bx_videos' AND `title_system`='' AND `title`='_bx_videos_page_block_title_top_entries';
@@ -66,3 +65,4 @@ UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_videos_submenu'
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_videos_snippet_meta' AND `module`='bx_videos' AND `name`='date';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_videos_snippet_meta' AND `module`='bx_videos' AND `name`='rating';
 UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_videos_snippet_meta' AND `module`='bx_videos' AND `name`='author';
+UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='bx_videos_snippet_meta' AND `module`='bx_videos' AND `name`='views';

+ 14 - 0
modules/boonex/wiki/install/sql/enable-app.sql

@@ -0,0 +1,14 @@
+-- PAGES: config_api
+
+-- PAGES: active_api
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_wiki_home' AND `module`='bx_wiki' AND `title_system`='' AND `title`='_bx_wiki_block_home';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_wiki_missing_translations' AND `module`='bx_wiki' AND `title_system`='' AND `title`='_bx_wiki_block_missing_translations';
+UPDATE `sys_pages_blocks` SET `active_api`=1 WHERE `object`='bx_wiki_outdated_translations' AND `module`='bx_wiki' AND `title_system`='' AND `title`='_bx_wiki_block_outdated_translations';
+
+
+-- MENUS:
+
+-- MENUS: config_api
+
+-- MENUS: active_api
+UPDATE `sys_menu_items` SET `active_api`=1 WHERE `set_name`='sys_site' AND `module`='bx_wiki' AND `name`='wiki-home';

Некоторые файлы не были показаны из-за большого количества измененных файлов