From fac447419d4ff31c5d60bf2f3baf6cc9e651eb75 Mon Sep 17 00:00:00 2001 From: Tobias Gaertner Date: Tue, 22 Jun 2021 10:06:21 +0200 Subject: [PATCH] replace old typoscript condition syntax --- Configuration/TypoScript/setup.typoscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Configuration/TypoScript/setup.typoscript b/Configuration/TypoScript/setup.typoscript index 2bdcf40..1dc85ac 100644 --- a/Configuration/TypoScript/setup.typoscript +++ b/Configuration/TypoScript/setup.typoscript @@ -1,4 +1,4 @@ -[globalVar = GP:tx_news_pi1|news_preview > 0] +[traverse(request.getQueryParams(), 'tx_news_pi1/news') > 0] lib.yoastSEO.currentURL.stdWrap.typolink { addQueryString.exclude = type,tx_news_pi1[news_preview] additionalParams = &tx_news_pi1[news]={GP:tx_news_pi1|news_preview}