Quellcode durchsuchen

Ticket #2139 - Integration with Snipcart and Videos.

AntonLV vor 7 Jahren
Ursprung
Commit
36fff1498a

+ 26 - 26
modules/boonex/snipcart/classes/BxSnipcartConfig.php

@@ -27,8 +27,8 @@ class BxSnipcartConfig extends BxBaseModTextConfig
 
             // database tables
             'TABLE_ENTRIES' => $aModule['db_prefix'] . 'entries',
-        	'TABLE_SETTINGS' => $aModule['db_prefix'] . 'settings',
-        	'TABLE_ENTRIES_FULLTEXT' => 'title_text',
+            'TABLE_SETTINGS' => $aModule['db_prefix'] . 'settings',
+            'TABLE_ENTRIES_FULLTEXT' => 'title_text',
 
             // database fields
             'FIELD_ID' => 'id',
@@ -38,16 +38,16 @@ class BxSnipcartConfig extends BxBaseModTextConfig
             'FIELD_TITLE' => 'title',
             'FIELD_TEXT' => 'text',
             'FIELD_TEXT_ID' => 'snipcart-entry-text',
-        	'FIELD_CATEGORY' => 'cat',
+            'FIELD_CATEGORY' => 'cat',
             'FIELD_PRICE' => 'price',
             'FIELD_WEIGHT' => 'weight',
             'FIELD_ALLOW_VIEW_TO' => 'allow_view_to',
             'FIELD_PHOTO' => 'pictures',
             'FIELD_THUMB' => 'thumb',
-        	'FIELD_VIEWS' => 'views',
+            'FIELD_VIEWS' => 'views',
             'FIELD_COMMENTS' => 'comments',
-	        'FIELD_STATUS' => 'status',
-        	'FIELD_STATUS_ADMIN' => 'status_admin',
+            'FIELD_STATUS' => 'status',
+            'FIELD_STATUS_ADMIN' => 'status_admin',
             'FIELD_LOCATION_PREFIX' => 'location',
             'FIELDS_WITH_KEYWORDS' => 'auto', // can be 'auto', array of fields or comma separated string of field names, works only when OBJECT_METATAGS is specified
 
@@ -56,45 +56,46 @@ class BxSnipcartConfig extends BxBaseModTextConfig
             'URI_AUTHOR_ENTRIES' => 'snipcart-author',
             'URI_ENTRIES_BY_CONTEXT' => 'snipcart-context',
             'URI_ADD_ENTRY' => 'create-snipcart-entry',
-        	'URI_EDIT_ENTRY' => 'edit-snipcart-entry',
-        	'URI_MANAGE_COMMON' => 'snipcart-manage',
+            'URI_EDIT_ENTRY' => 'edit-snipcart-entry',
+            'URI_MANAGE_COMMON' => 'snipcart-manage',
 
             'URL_HOME' => 'page.php?i=snipcart-home',
             'URL_POPULAR' => 'page.php?i=snipcart-popular',
             'URL_UPDATED' => 'page.php?i=snipcart-updated',
-        	'URL_MANAGE_COMMON' => 'page.php?i=snipcart-manage',
-        	'URL_MANAGE_ADMINISTRATION' => 'page.php?i=snipcart-administration',
-        	'URL_SETTINGS' => 'page.php?i=snipcart-settings',
+            'URL_MANAGE_COMMON' => 'page.php?i=snipcart-manage',
+            'URL_MANAGE_ADMINISTRATION' => 'page.php?i=snipcart-administration',
+            'URL_SETTINGS' => 'page.php?i=snipcart-settings',
 
             // some params
             'PARAM_CHARS_SUMMARY' => 'bx_snipcart_summary_chars',
             'PARAM_CHARS_SUMMARY_PLAIN' => 'bx_snipcart_plain_summary_chars',
             'PARAM_NUM_RSS' => 'bx_snipcart_rss_num',
-        	'PARAM_SEARCHABLE_FIELDS' => 'bx_snipcart_searchable_fields',
+            'PARAM_SEARCHABLE_FIELDS' => 'bx_snipcart_searchable_fields',
 
             // objects
             'OBJECT_STORAGE' => 'bx_snipcart_files',
             'OBJECT_IMAGES_TRANSCODER_PREVIEW' => 'bx_snipcart_preview',
             'OBJECT_IMAGES_TRANSCODER_GALLERY' => 'bx_snipcart_gallery',
-        	'OBJECT_IMAGES_TRANSCODER_COVER' => 'bx_snipcart_cover',
+            'OBJECT_IMAGES_TRANSCODER_COVER' => 'bx_snipcart_cover',
             'OBJECT_VIDEOS_TRANSCODERS' => array(),
-        	'OBJECT_REPORTS' => 'bx_snipcart',
+            'OBJECT_REPORTS' => 'bx_snipcart',
             'OBJECT_VIEWS' => 'bx_snipcart',
             'OBJECT_VOTES' => 'bx_snipcart',
-        	'OBJECT_SCORES' => 'bx_snipcart',
-        	'OBJECT_FAVORITES' => 'bx_snipcart',
+            'OBJECT_REACTIONS' => 'bx_snipcart_reactions',
+            'OBJECT_SCORES' => 'bx_snipcart',
+            'OBJECT_FAVORITES' => 'bx_snipcart',
             'OBJECT_FEATURED' => 'bx_snipcart',
             'OBJECT_METATAGS' => 'bx_snipcart',
             'OBJECT_COMMENTS' => 'bx_snipcart',
-        	'OBJECT_CATEGORY' => 'bx_snipcart_cats',
+            'OBJECT_CATEGORY' => 'bx_snipcart_cats',
             'OBJECT_PRIVACY_VIEW' => 'bx_snipcart_allow_view_to',
             'OBJECT_FORM_ENTRY' => 'bx_snipcart',
             'OBJECT_FORM_ENTRY_DISPLAY_VIEW' => 'bx_snipcart_entry_view',
             'OBJECT_FORM_ENTRY_DISPLAY_ADD' => 'bx_snipcart_entry_add',
             'OBJECT_FORM_ENTRY_DISPLAY_EDIT' => 'bx_snipcart_entry_edit',
             'OBJECT_FORM_ENTRY_DISPLAY_DELETE' => 'bx_snipcart_entry_delete',
-        	'OBJECT_FORM_SETTINGS' => 'bx_snipcart_settings',
-        	'OBJECT_FORM_SETTINGS_DISPLAY_EDIT' => 'bx_snipcart_settings_edit',
+            'OBJECT_FORM_SETTINGS' => 'bx_snipcart_settings',
+            'OBJECT_FORM_SETTINGS_DISPLAY_EDIT' => 'bx_snipcart_settings_edit',
             'OBJECT_FORM_PRELISTS_CURRENCIES' => 'bx_snipcart_currencies',
             'OBJECT_MENU_ACTIONS_VIEW_ENTRY' => 'bx_snipcart_view', // actions menu on view entry page
             'OBJECT_MENU_ACTIONS_VIEW_ENTRY_ALL' => 'bx_snipcart_view_actions', // all actions menu on view entry page
@@ -105,7 +106,7 @@ class BxSnipcartConfig extends BxBaseModTextConfig
             'OBJECT_MENU_SNIPPET_META' => 'bx_snipcart_snippet_meta', // menu for snippet meta info
             'OBJECT_MENU_MANAGE_TOOLS' => 'bx_snipcart_menu_manage_tools', //manage menu in content administration tools
             'OBJECT_GRID_ADMINISTRATION' => 'bx_snipcart_administration',
-        	'OBJECT_GRID_COMMON' => 'bx_snipcart_common',
+            'OBJECT_GRID_COMMON' => 'bx_snipcart_common',
             'OBJECT_UPLOADERS' => array('sys_simple', 'sys_html5'),
 
             // menu items which visibility depends on custom visibility checking
@@ -125,7 +126,7 @@ class BxSnipcartConfig extends BxBaseModTextConfig
             	'form_field_author' => '_bx_snipcart_form_entry_input_author',
             	'grid_action_err_delete' => '_bx_snipcart_grid_action_err_delete',
             	'grid_txt_account_manager' => '_bx_snipcart_grid_txt_account_manager',
-				'filter_item_active' => '_bx_snipcart_grid_filter_item_title_adm_active',
+                'filter_item_active' => '_bx_snipcart_grid_filter_item_title_adm_active',
             	'filter_item_hidden' => '_bx_snipcart_grid_filter_item_title_adm_hidden',
             	'filter_item_select_one_filter1' => '_bx_snipcart_grid_filter_item_title_adm_select_one_filter1',
             	'menu_item_manage_my' => '_bx_snipcart_menu_item_title_manage_my',
@@ -139,17 +140,16 @@ class BxSnipcartConfig extends BxBaseModTextConfig
         );
 
         $this->_aJsClasses = array(
-        	'manage_tools' => 'BxSnipcartManageTools'
+            'manage_tools' => 'BxSnipcartManageTools'
         );
 
         $this->_aJsObjects = array(
-        	'manage_tools' => 'oBxSnipcartManageTools'
+            'manage_tools' => 'oBxSnipcartManageTools'
         );
 
         $this->_aGridObjects = array(
-        	'common' => $this->CNF['OBJECT_GRID_COMMON'],
-        	'administration' => $this->CNF['OBJECT_GRID_ADMINISTRATION'],
-        	
+            'common' => $this->CNF['OBJECT_GRID_COMMON'],
+            'administration' => $this->CNF['OBJECT_GRID_ADMINISTRATION'],
         );
     }
 

+ 2 - 1
modules/boonex/snipcart/install/sql/enable.sql

@@ -196,7 +196,8 @@ INSERT INTO `sys_menu_items`(`set_name`, `module`, `name`, `title_system`, `titl
 ('bx_snipcart_view_actions', 'bx_snipcart', 'delete-snipcart-entry', '_bx_snipcart_menu_item_title_system_delete_entry', '', '', '', '', '', '', '', 0, 2147483647, 1, 0, 30),
 ('bx_snipcart_view_actions', 'bx_snipcart', 'comment', '_sys_menu_item_title_system_va_comment', '', '', '', '', '', '', '', 0, 2147483647, 0, 0, 200),
 ('bx_snipcart_view_actions', 'bx_snipcart', 'view', '_sys_menu_item_title_system_va_view', '', '', '', '', '', '', '', 0, 2147483647, 1, 0, 210),
-('bx_snipcart_view_actions', 'bx_snipcart', 'vote', '_sys_menu_item_title_system_va_vote', '', '', '', '', '', '', '', 0, 2147483647, 1, 0, 220),
+('bx_snipcart_view_actions', 'bx_snipcart', 'vote', '_sys_menu_item_title_system_va_vote', '', '', '', '', '', '', '', 0, 2147483647, 0, 0, 220),
+('bx_snipcart_view_actions', 'bx_snipcart', 'reaction', '_sys_menu_item_title_system_va_reaction', '', '', '', '', '', '', '', 0, 2147483647, 1, 0, 225),
 ('bx_snipcart_view_actions', 'bx_snipcart', 'score', '_sys_menu_item_title_system_va_score', '', '', '', '', '', '', '', 0, 2147483647, 1, 0, 230),
 ('bx_snipcart_view_actions', 'bx_snipcart', 'favorite', '_sys_menu_item_title_system_va_favorite', '', '', '', '', '', '', '', 0, 2147483647, 1, 0, 240),
 ('bx_snipcart_view_actions', 'bx_snipcart', 'feature', '_sys_menu_item_title_system_va_feature', '', '', '', '', '', '', '', 0, 2147483647, 1, 0, 250),

+ 24 - 1
modules/boonex/snipcart/install/sql/install.sql

@@ -16,6 +16,8 @@ CREATE TABLE IF NOT EXISTS `bx_snipcart_entries` (
   `views` int(11) NOT NULL default '0',
   `rate` float NOT NULL default '0',
   `votes` int(11) NOT NULL default '0',
+  `rrate` float NOT NULL default '0',
+  `rvotes` int(11) NOT NULL default '0',
   `score` int(11) NOT NULL default '0',
   `sc_up` int(11) NOT NULL default '0',
   `sc_down` int(11) NOT NULL default '0',
@@ -113,6 +115,26 @@ CREATE TABLE IF NOT EXISTS `bx_snipcart_votes_track` (
   KEY `vote` (`object_id`, `author_nip`)
 );
 
+CREATE TABLE IF NOT EXISTS `bx_snipcart_reactions` (
+  `object_id` int(11) NOT NULL default '0',
+  `reaction` varchar(32) NOT NULL default '',
+  `count` int(11) NOT NULL default '0',
+  `sum` int(11) NOT NULL default '0',
+  UNIQUE KEY `reaction` (`object_id`, `reaction`)
+);
+
+CREATE TABLE IF NOT EXISTS `bx_snipcart_reactions_track` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `object_id` int(11) NOT NULL default '0',
+  `author_id` int(11) NOT NULL default '0',
+  `author_nip` int(11) unsigned NOT NULL default '0',
+  `reaction` varchar(32) NOT NULL default '',
+  `value` tinyint(4) NOT NULL default '0',
+  `date` int(11) NOT NULL default '0',
+  PRIMARY KEY (`id`),
+  KEY `vote` (`object_id`, `author_nip`)
+);
+
 -- TABLE: views
 CREATE TABLE IF NOT EXISTS `bx_snipcart_views_track` (
   `object_id` int(11) NOT NULL default '0',
@@ -326,7 +348,8 @@ INSERT INTO `sys_objects_cmts` (`Name`, `Module`, `Table`, `CharsPostMin`, `Char
 
 -- VOTES
 INSERT INTO `sys_objects_vote` (`Name`, `TableMain`, `TableTrack`, `PostTimeout`, `MinValue`, `MaxValue`, `IsUndo`, `IsOn`, `TriggerTable`, `TriggerFieldId`, `TriggerFieldAuthor`, `TriggerFieldRate`, `TriggerFieldRateCount`, `ClassName`, `ClassFile`) VALUES 
-('bx_snipcart', 'bx_snipcart_votes', 'bx_snipcart_votes_track', '604800', '1', '1', '0', '1', 'bx_snipcart_entries', 'id', 'author', 'rate', 'votes', '', '');
+('bx_snipcart', 'bx_snipcart_votes', 'bx_snipcart_votes_track', '604800', '1', '1', '0', '1', 'bx_snipcart_entries', 'id', 'author', 'rate', 'votes', '', ''),
+('bx_snipcart_reactions', 'bx_snipcart_reactions', 'bx_snipcart_reactions_track', '604800', '1', '1', '1', '1', 'bx_snipcart_entries', 'id', 'author', 'rrate', 'rvotes', 'BxTemplVoteReactions', '');
 
 
 -- SCORES

+ 2 - 2
modules/boonex/snipcart/install/sql/uninstall.sql

@@ -1,6 +1,6 @@
 
 -- TABLES
-DROP TABLE IF EXISTS `bx_snipcart_entries`, `bx_snipcart_settings`, `bx_snipcart_files`, `bx_snipcart_photos_resized`, `bx_snipcart_cmts`, `bx_snipcart_votes`, `bx_snipcart_votes_track`, `bx_snipcart_views_track`, `bx_snipcart_meta_keywords`, `bx_snipcart_meta_locations`, `bx_snipcart_meta_mentions`, `bx_snipcart_reports`, `bx_snipcart_reports_track`, `bx_snipcart_favorites_track`, `bx_snipcart_scores`, `bx_snipcart_scores_track`;
+DROP TABLE IF EXISTS `bx_snipcart_entries`, `bx_snipcart_settings`, `bx_snipcart_files`, `bx_snipcart_photos_resized`, `bx_snipcart_cmts`, `bx_snipcart_votes`, `bx_snipcart_votes_track`, `bx_snipcart_reactions`, `bx_snipcart_reactions_track`, `bx_snipcart_views_track`, `bx_snipcart_meta_keywords`, `bx_snipcart_meta_locations`, `bx_snipcart_meta_mentions`, `bx_snipcart_reports`, `bx_snipcart_reports_track`, `bx_snipcart_favorites_track`, `bx_snipcart_scores`, `bx_snipcart_scores_track`;
 
 
 -- STORAGES & TRANSCODERS
@@ -29,7 +29,7 @@ DELETE FROM `sys_objects_cmts` WHERE `Name` = 'bx_snipcart';
 
 
 -- VOTES
-DELETE FROM `sys_objects_vote` WHERE `Name` = 'bx_snipcart';
+DELETE FROM `sys_objects_vote` WHERE `Name` IN ('bx_snipcart', 'bx_snipcart_reactions');
 
 
 -- SCORES

+ 1 - 0
modules/boonex/videos/classes/BxVideosConfig.php

@@ -96,6 +96,7 @@ class BxVideosConfig extends BxBaseModTextConfig
             'OBJECT_VIEWS' => 'bx_videos',
             'OBJECT_VOTES' => 'bx_videos',
             'OBJECT_VOTES_STARS' => 'bx_videos_stars',
+            'OBJECT_REACTIONS' => 'bx_videos_reactions',
             'OBJECT_SCORES' => 'bx_videos',
             'OBJECT_FAVORITES' => 'bx_videos',
             'OBJECT_FEATURED' => 'bx_videos',

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

@@ -193,7 +193,8 @@ INSERT INTO `sys_menu_items`(`set_name`, `module`, `name`, `title_system`, `titl
 ('bx_videos_view_actions', 'bx_videos', 'delete-video', '_bx_videos_menu_item_title_system_delete_entry', '', '', '', '', '', '', '', 0, 2147483647, 1, 0, 20),
 ('bx_videos_view_actions', 'bx_videos', 'comment', '_sys_menu_item_title_system_va_comment', '', '', '', '', '', '', '', 0, 2147483647, 0, 0, 200),
 ('bx_videos_view_actions', 'bx_videos', 'view', '_sys_menu_item_title_system_va_view', '', '', '', '', '', '', '', 0, 2147483647, 1, 0, 210),
-('bx_videos_view_actions', 'bx_videos', 'vote', '_sys_menu_item_title_system_va_vote', '', '', '', '', '', '', '', 0, 2147483647, 1, 0, 220),
+('bx_videos_view_actions', 'bx_videos', 'vote', '_sys_menu_item_title_system_va_vote', '', '', '', '', '', '', '', 0, 2147483647, 0, 0, 220),
+('bx_videos_view_actions', 'bx_videos', 'reaction', '_sys_menu_item_title_system_va_reaction', '', '', '', '', '', '', '', 0, 2147483647, 1, 0, 225),
 ('bx_videos_view_actions', 'bx_videos', 'score', '_sys_menu_item_title_system_va_score', '', '', '', '', '', '', '', 0, 2147483647, 1, 0, 230),
 ('bx_videos_view_actions', 'bx_videos', 'favorite', '_sys_menu_item_title_system_va_favorite', '', '', '', '', '', '', '', 0, 2147483647, 1, 0, 240),
 ('bx_videos_view_actions', 'bx_videos', 'feature', '_sys_menu_item_title_system_va_feature', '', '', '', '', '', '', '', 0, 2147483647, 1, 0, 250),

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

@@ -16,6 +16,8 @@ CREATE TABLE IF NOT EXISTS `bx_videos_entries` (
   `votes` int(11) NOT NULL default '0',
   `srate` float NOT NULL default '0',
   `svotes` int(11) NOT NULL default '0',
+  `rrate` float NOT NULL default '0',
+  `rvotes` int(11) NOT NULL default '0',
   `score` int(11) NOT NULL default '0',
   `sc_up` int(11) NOT NULL default '0',
   `sc_down` int(11) NOT NULL default '0',
@@ -135,6 +137,26 @@ CREATE TABLE IF NOT EXISTS `bx_videos_svotes_track` (
   KEY `vote` (`object_id`, `author_nip`)
 );
 
+CREATE TABLE IF NOT EXISTS `bx_videos_reactions` (
+  `object_id` int(11) NOT NULL default '0',
+  `reaction` varchar(32) NOT NULL default '',
+  `count` int(11) NOT NULL default '0',
+  `sum` int(11) NOT NULL default '0',
+  UNIQUE KEY `reaction` (`object_id`, `reaction`)
+);
+
+CREATE TABLE IF NOT EXISTS `bx_videos_reactions_track` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `object_id` int(11) NOT NULL default '0',
+  `author_id` int(11) NOT NULL default '0',
+  `author_nip` int(11) unsigned NOT NULL default '0',
+  `reaction` varchar(32) NOT NULL default '',
+  `value` tinyint(4) NOT NULL default '0',
+  `date` int(11) NOT NULL default '0',
+  PRIMARY KEY (`id`),
+  KEY `vote` (`object_id`, `author_nip`)
+);
+
 -- TABLE: views
 CREATE TABLE `bx_videos_views_track` (
   `object_id` int(11) NOT NULL default '0',
@@ -333,7 +355,8 @@ INSERT INTO `sys_objects_cmts` (`Name`, `Module`, `Table`, `CharsPostMin`, `Char
 -- VOTES
 INSERT INTO `sys_objects_vote` (`Name`, `TableMain`, `TableTrack`, `PostTimeout`, `MinValue`, `MaxValue`, `IsUndo`, `IsOn`, `TriggerTable`, `TriggerFieldId`, `TriggerFieldAuthor`, `TriggerFieldRate`, `TriggerFieldRateCount`, `ClassName`, `ClassFile`) VALUES 
 ('bx_videos', 'bx_videos_votes', 'bx_videos_votes_track', '604800', '1', '1', '0', '1', 'bx_videos_entries', 'id', 'author', 'rate', 'votes', '', ''),
-('bx_videos_stars', 'bx_videos_svotes', 'bx_videos_svotes_track', '604800', '1', '5', '0', '1', 'bx_videos_entries', 'id', 'author', 'srate', 'svotes', '', '');
+('bx_videos_stars', 'bx_videos_svotes', 'bx_videos_svotes_track', '604800', '1', '5', '0', '1', 'bx_videos_entries', 'id', 'author', 'srate', 'svotes', '', ''),
+('bx_videos_reactions', 'bx_videos_reactions', 'bx_videos_reactions_track', '604800', '1', '1', '1', '1', 'bx_videos_entries', 'id', 'author', 'rrate', 'rvotes', 'BxTemplVoteReactions', '');
 
 
 -- SCORES

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

@@ -1,6 +1,6 @@
 
 -- TABLES
-DROP TABLE IF EXISTS `bx_videos_entries`, `bx_videos_photos`, `bx_videos_videos`, `bx_videos_media_resized`, `bx_videos_cmts`, `bx_videos_votes`, `bx_videos_votes_track`, `bx_videos_svotes`, `bx_videos_svotes_track`, `bx_videos_views_track`, `bx_videos_meta_keywords`, `bx_videos_meta_locations`, `bx_videos_meta_mentions`, `bx_videos_reports`, `bx_videos_reports_track`, `bx_videos_favorites_track`, `bx_videos_scores`, `bx_videos_scores_track`;
+DROP TABLE IF EXISTS `bx_videos_entries`, `bx_videos_photos`, `bx_videos_videos`, `bx_videos_media_resized`, `bx_videos_cmts`, `bx_videos_votes`, `bx_videos_votes_track`, `bx_videos_svotes`, `bx_videos_svotes_track`, `bx_videos_reactions`, `bx_videos_reactions_track`, `bx_videos_views_track`, `bx_videos_meta_keywords`, `bx_videos_meta_locations`, `bx_videos_meta_mentions`, `bx_videos_reports`, `bx_videos_reports_track`, `bx_videos_favorites_track`, `bx_videos_scores`, `bx_videos_scores_track`;
 
 
 -- STORAGES & TRANSCODERS
@@ -31,7 +31,7 @@ DELETE FROM `sys_objects_cmts` WHERE `Name` = 'bx_videos';
 
 
 -- VOTES
-DELETE FROM `sys_objects_vote` WHERE `Name` IN ('bx_videos', 'bx_videos_stars');
+DELETE FROM `sys_objects_vote` WHERE `Name` IN ('bx_videos', 'bx_videos_stars', 'bx_videos_reactions');
 
 
 -- SCORES

+ 8 - 4
modules/boonex/videos/template/entry-text.html

@@ -1,5 +1,9 @@
-<div class="bx-base-text-entity-content bx-def-constraint-list bx-def-constraint-pre bx-def-constraint-object bx-def-constraint-iframe bx-def-constraint-img bx-videos-entity-video">
-    <p class="bx-def-font-align-center">__entry_video__</p>
-    <h1>__entry_title__</h1>
-    __entry_text__
+<div class="bx-content-description-before">__content_description_before__</div>
+<div class="bx-content-description">
+    <div class="bx-base-text-entity-content bx-def-constraint-list bx-def-constraint-pre bx-def-constraint-object bx-def-constraint-iframe bx-def-constraint-img bx-videos-entity-video">
+        <p class="bx-def-font-align-center">__entry_video__</p>
+        <h1>__entry_title__</h1>
+        __entry_text__
+    </div>
 </div>
+<div class="bx-content-description-after">__content_description_after__</div>