Commit 1f1a3de7 authored by Thomas Löffler's avatar Thomas Löffler

Remove unused conditions and change old syntax conditions

parent c6ead7ed
Pipeline #9679 passed with stages
in 5 minutes and 12 seconds
......@@ -85,29 +85,6 @@ page.includeJSFooter.tx_terfe2 = EXT:ter_fe2/Resources/Public/Javascript/Default
page.jsInline.1 = TEXT
page.jsInline.1.value = var versionChartData = "";
# ======================================================================
# Show review form only for allowed usergroup
# ======================================================================
[usergroup = {$plugin.tx_ter_pi1.reviewersFrontendUsergroupUid}] || [globalVar = LIT:1 = {$plugin.tx_terfe2.settings.show.reviewForm}]
plugin.tx_terfe2.settings.show.reviewForm = 1
[global]
##### switch between EXT:solr and EXT:ter_fe2 #####
# EXT:solr
[page | uid = {$const.page.ter_fe}] && [globalVar = GP:tx_terfe2_pi1|action =]
tt_content.list.20.terfe2_pi1 >
tt_content.list.20.terfe2_pi1 = TEXT
tt_content.list.20.terfe2_pi1.value =
[global]
# EXT:ter_fe2
[page | uid = {$const.page.ter_fe}] && [globalString = GP:tx_terfe2_pi1|action = ?*]
tt_content.list.20.solr_pi_results >
tt_content.list.20.solr_pi_results = TEXT
tt_content.list.20.solr_pi_results.value =
[global]
like = PAGE
like {
typeNum = {$plugin.tx_terfe2.like.typeNum}
......
......@@ -15,7 +15,7 @@ plugin.tx_terfe2.settings.rss.channel {
dateFormat = {$plugin.tx_terfe2.rssOutput.dateFormat}
}
[globalVar = TSFE:type = {$plugin.tx_terfe2.rssOutput.typeNum}]
[getTSFE().type == {$plugin.tx_terfe2.rssOutput.typeNum}]
config {
disableAllHeaderCode = 1
xhtml_cleaning = none
......
[backend.user.isLoggedIn]
[else]
[backend.user.isLoggedIn == false]
page {
headerData {
1501157682 = TEXT
......@@ -26,4 +25,4 @@ page {
)
}
}
[global]
\ No newline at end of file
[global]
# t3olayout loads its typoscript via ext_typoscript_setup.txt which is a bad implementation and prevents
# overriding in many cases, so we also have to provide an ext_typoscript_setup.txt
[page|uid = 3] && [globalString = GP:tx_terfe2_pi1|action = ?*]
page.meta {
og:title >
}
[global]
@import 'EXT:seo/Configuration/TypoScript/XmlSitemap/setup.typoscript'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment