|
|
@@ -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';
|