From fd2df553ae3639be9cbd1f95be9bfff2c86809e5 Mon Sep 17 00:00:00 2001 From: Tero Elonen Date: Tue, 15 Aug 2023 17:55:53 +0300 Subject: [PATCH] UHF-8716: Change Askem configuration to check path instead of node type, enable the functionality to all content except news pages --- conf/cmi/block.block.hdbt_subtheme_reactandshare.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/conf/cmi/block.block.hdbt_subtheme_reactandshare.yml b/conf/cmi/block.block.hdbt_subtheme_reactandshare.yml index a3c810a2..13ff9d0a 100644 --- a/conf/cmi/block.block.hdbt_subtheme_reactandshare.yml +++ b/conf/cmi/block.block.hdbt_subtheme_reactandshare.yml @@ -5,6 +5,7 @@ dependencies: module: - helfi_platform_config - node + - system theme: - hdbt_subtheme _core: @@ -21,11 +22,7 @@ settings: label_display: '0' provider: helfi_platform_config visibility: - 'entity_bundle:node': - id: 'entity_bundle:node' + request_path: + id: request_path negate: true - context_mapping: - node: '@node.node_route_context:node' - bundles: - announcement: announcement - news_item: news_item + pages: "/news/*\r\n/uutiset/*\r\n/nyheter/*"