Przeglądaj źródła

Ticket #5401 - Videos: Location not needed in default configs.

AntonLV 7 miesięcy temu
rodzic
commit
7236778c3f

+ 1 - 1
modules/boonex/videos/install/sql/enable.sql

@@ -58,7 +58,7 @@ INSERT INTO `sys_pages_blocks`(`object`, `cell_id`, `module`, `title_system`, `t
 ('bx_videos_view_entry', 4, 'bx_videos', '', '_bx_videos_page_block_title_entry_social_sharing', 11, 2147483647, 'service', 'a:2:{s:6:"module";s:9:"bx_videos";s:6:"method";s:21:"entity_social_sharing";}', 0, 0, 0, 0, 0),
 ('bx_videos_view_entry', 4, 'bx_videos', '', '_bx_videos_page_block_title_entry_attachments', 11, 2147483647, 'service', 'a:2:{s:6:"module";s:9:"bx_videos";s:6:"method";s:18:"entity_attachments";}', 0, 0, 0, 0, 0),
 ('bx_videos_view_entry', 2, 'bx_videos', '', '_bx_videos_page_block_title_entry_comments', 11, 2147483647, 'service', 'a:2:{s:6:"module";s:9:"bx_videos";s:6:"method";s:15:"entity_comments";}', 0, 0, 1, 1, 4),
-('bx_videos_view_entry', 3, 'bx_videos', '', '_bx_videos_page_block_title_entry_location', 3, 2147483647, 'service', 'a:4:{s:6:"module";s:6:"system";s:6:"method";s:13:"locations_map";s:6:"params";a:2:{i:0;s:9:"bx_videos";i:1;s:4:"{id}";}s:5:"class";s:20:"TemplServiceMetatags";}', 0, 0, 1, 0, 3),
+('bx_videos_view_entry', 3, 'bx_videos', '', '_bx_videos_page_block_title_entry_location', 3, 2147483647, 'service', 'a:4:{s:6:"module";s:6:"system";s:6:"method";s:13:"locations_map";s:6:"params";a:2:{i:0;s:9:"bx_videos";i:1;s:4:"{id}";}s:5:"class";s:20:"TemplServiceMetatags";}', 0, 0, 0, 0, 0),
 ('bx_videos_view_entry', 3, 'bx_videos', '', '_bx_videos_page_block_title_featured_entries_view_extended', 11, 2147483647, 'service', 'a:3:{s:6:"module";s:9:"bx_videos";s:6:"method";s:15:"browse_featured";s:6:"params";a:1:{i:0;s:8:"extended";}}', 0, 0, 1, 0, 4),
 ('bx_videos_view_entry', 2, 'bx_videos', '', '_bx_videos_page_block_title_entry_reports', 11, 2147483647, 'service', 'a:2:{s:6:\"module\";s:9:\"bx_videos\";s:6:\"method\";s:14:\"entity_reports\";}', 0, 0, 1, 0, 6);
 

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

@@ -390,7 +390,7 @@ INSERT INTO `sys_form_display_inputs`(`display_name`, `input_name`, `visible_for
 ('bx_videos_entry_add', 'pictures', 2147483647, 1, 7),
 ('bx_videos_entry_add', 'allow_view_to', 2147483647, 1, 8),
 ('bx_videos_entry_add', 'cf', 2147483647, 1, 9),
-('bx_videos_entry_add', 'location', 2147483647, 1, 10),
+('bx_videos_entry_add', 'location', 2147483647, 0, 10),
 ('bx_videos_entry_add', 'do_publish', 2147483647, 1, 11),
 
 ('bx_videos_entry_delete', 'delete_confirm', 2147483647, 1, 1),
@@ -405,7 +405,7 @@ INSERT INTO `sys_form_display_inputs`(`display_name`, `input_name`, `visible_for
 ('bx_videos_entry_edit', 'pictures', 2147483647, 1, 7),
 ('bx_videos_entry_edit', 'allow_view_to', 2147483647, 1, 8),
 ('bx_videos_entry_edit', 'cf', 2147483647, 1, 9),
-('bx_videos_entry_edit', 'location', 2147483647, 1, 10),
+('bx_videos_entry_edit', 'location', 2147483647, 0, 10),
 ('bx_videos_entry_edit', 'controls', 2147483647, 1, 11),
 ('bx_videos_entry_edit', 'do_submit', 2147483647, 1, 12),
 ('bx_videos_entry_edit', 'do_cancel', 2147483647, 1, 13),