|
|
@@ -1,4 +1,6 @@
|
|
|
-- PAGES:
|
|
|
+
|
|
|
+-- PAGES: Home
|
|
|
INSERT INTO `sys_pages_blocks` (`object`, `cell_id`, `module`, `title_system`, `title`, `designbox_id`, `class`, `submenu`, `tabs`, `async`, `visible_for_levels`, `hidden_on`, `type`, `content`, `content_empty`, `text`, `text_updated`, `help`, `cache_lifetime`, `config_api`, `deletable`, `copyable`, `active`, `active_api`, `order`) VALUES
|
|
|
('sys_home', 1, 'bx_timeline', '_bx_timeline_page_block_title_system_view_home', '_bx_timeline_page_block_title_view_home', 0, '', '', 0, 0, 2147483644, '0', 'service', 'a:2:{s:6:"module";s:11:"bx_timeline";s:6:"method";s:19:"get_block_view_home";}', '', '', 0, '', 0, '', 1, 0, 0, 1, 0),
|
|
|
('sys_home', 1, 'bx_timeline', '_bx_timeline_page_block_title_system_view_account', '_bx_timeline_page_block_title_view_account', 0, '', '', 0, 0, 2147483644, '0', 'service', 'a:2:{s:6:"module";s:11:"bx_timeline";s:6:"method";s:22:"get_block_view_account";}', '', '', 0, '', 0, '', 1, 0, 0, 1, 0),
|
|
|
@@ -6,6 +8,14 @@ INSERT INTO `sys_pages_blocks` (`object`, `cell_id`, `module`, `title_system`, `
|
|
|
('sys_home', 1, 'bx_timeline', '_bx_timeline_page_block_title_system_view_feed_and_hot', '_bx_timeline_page_block_title_view_feed_and_hot', 0, '', '', 0, 0, 2147483644, '0', 'service', 'a:2:{s:6:"module";s:11:"bx_timeline";s:6:"method";s:27:"get_block_view_feed_and_hot";}', '', '', 0, '', 0, '', 1, 0, 0, 1, 0),
|
|
|
('sys_home', 1, 'bx_timeline', '_bx_timeline_page_block_title_system_view_channels', '_bx_timeline_page_block_title_view_channels', 0, '', '', 0, 0, 2147483644, '0', 'service', 'a:2:{s:6:"module";s:11:"bx_timeline";s:6:"method";s:23:"get_block_view_channels";}', '', '', 0, '', 0, '', 1, 0, 0, 1, 0);
|
|
|
|
|
|
+-- PAGES: View person profile
|
|
|
+INSERT INTO `sys_pages_blocks` (`object`, `cell_id`, `module`, `title_system`, `title`, `designbox_id`, `class`, `submenu`, `tabs`, `async`, `visible_for_levels`, `hidden_on`, `type`, `content`, `content_empty`, `text`, `text_updated`, `help`, `cache_lifetime`, `config_api`, `deletable`, `copyable`, `active`, `active_api`, `order`) VALUES
|
|
|
+('bx_persons_view_profile', 1, 'bx_timeline', '_bx_timeline_page_block_title_system_view_profile', '_bx_timeline_page_block_title_view_profile', 0, '', '', 0, 0, 2147483647, '0', '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: View organization profile
|
|
|
+INSERT INTO `sys_pages_blocks` (`object`, `cell_id`, `module`, `title_system`, `title`, `designbox_id`, `class`, `submenu`, `tabs`, `async`, `visible_for_levels`, `hidden_on`, `type`, `content`, `content_empty`, `text`, `text_updated`, `help`, `cache_lifetime`, `config_api`, `deletable`, `copyable`, `active`, `active_api`, `order`) VALUES
|
|
|
+('bx_organizations_view_profile', 1, 'bx_timeline', '_bx_timeline_page_block_title_system_view_profile', '_bx_timeline_page_block_title_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';
|
|
|
|