Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
typo3.org
typo3.org
Commits
14e75c13
Commit
14e75c13
authored
Jan 20, 2020
by
Thomas Löffler
Browse files
Fix more linting issues and use new condition syntax
parent
74d69a92
Pipeline
#8380
passed with stages
in 3 minutes and 34 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extensions/t3org_layout/Configuration/TypoScript/Ext/CsSeo.typoscript
View file @
14e75c13
# check if news detail view
[globalVar = GP:tx_news_pi1|news > 0]
page.headerData {
# remove all meta tags from cs_seo
654 >
}
config.noPageTitle = 2
[request.getQueryParams()['tx_news_pi1]['news'] > 0]
page.headerData {
# remove all meta tags from cs_seo
654 >
}
temp.newsTitle = RECORDS
temp.newsTitle {
dontCheckPid = 1
tables = tx_news_domain_model_news
source {
data = GP:tx_news_pi1|news
intval = 1
}
conf.tx_news_domain_model_news = TEXT
conf.tx_news_domain_model_news {
field = title
htmlSpecialChars = 1
}
config.noPageTitle = 2
wrap = <title>|</title>
temp.newsTitle = RECORDS
temp.newsTitle {
dontCheckPid = 1
tables = tx_news_domain_model_news
source {
data = GP:tx_news_pi1|news
intval = 1
}
conf.tx_news_domain_model_news = TEXT
conf.tx_news_domain_model_news {
field = title
htmlSpecialChars = 1
}
wrap = <title>|</title>
}
page.headerData.1 >
page.headerData.1 < temp.newsTitle
page.headerData.1 >
page.headerData.1 < temp.newsTitle
[end]
config.pageTitleSeparator =
extensions/t3org_layout/Configuration/TypoScript/Ext/News.typoscript
View file @
14e75c13
...
...
@@ -65,162 +65,162 @@ page.headerData {
}
# RSS feed with the latest 30 news (default)
[globalVar = TSFE:type = 100]
config {
disableAllHeaderCode = 1
xhtml_cleaning = none
admPanel = 0
debug = 0
disablePrefixComment = 1
metaCharset = utf-8
additionalHeaders.5 {
header = Content-Type:application/rss+xml;charset=utf-8
replace = 1
}
absRefPrefix = {$plugin.tx_news.rss.channel.link}
linkVars = L
[getTSFE().type == 100]
config {
disableAllHeaderCode = 1
xhtml_cleaning = none
admPanel = 0
debug = 0
disablePrefixComment = 1
metaCharset = utf-8
additionalHeaders.5 {
header = Content-Type:application/rss+xml;charset=utf-8
replace = 1
}
absRefPrefix = {$plugin.tx_news.rss.channel.link}
linkVars = L
}
pageNewsRSS = PAGE
pageNewsRSS {
typeNum = 100
10 = USER
10 {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
extensionName = News
vendorName = GeorgRinger
pluginName = Pi1
switchableControllerActions {
News {
1 = list
}
pageNewsRSS = PAGE
pageNewsRSS {
typeNum = 100
10 = USER
10 {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
extensionName = News
vendorName = GeorgRinger
pluginName = Pi1
switchableControllerActions {
News {
1 = list
}
}
settings < plugin.tx_news.settings
settings {
limit = 30
detailPid = 185
startingpoint = 179
recursive = 1
format = xml
list.rss.channel {
title = Official typo3.org news
link = {$plugin.tx_news.rss.channel.link}
}
settings < plugin.tx_news.settings
settings {
limit = 30
detailPid = 185
startingpoint = 179
recursive = 1
format = xml
list.rss.channel {
title = Official typo3.org news
link = {$plugin.tx_news.rss.channel.link}
}
}
view < plugin.tx_news.view
view {
templateRootPaths {
2 = EXT:t3org_layout/Resources/Private/Templates/News/
}
view < plugin.tx_news.view
view {
templateRootPaths {
2 = EXT:t3org_layout/Resources/Private/Templates/News/
}
}
}
}
[global]
# RSS feed with the latest 30 news (security advisories)
[g
lobalVar =
TSFE
:
type = 101]
config {
disableAllHeaderCode = 1
xhtml_cleaning = none
admPanel = 0
debug = 0
disablePrefixComment = 1
metaCharset = utf-8
additionalHeaders.5.header = Content-Type:application/rss+xml;charset=utf-8
additionalHeaders.5.replace = 1
absRefPrefix = {$plugin.tx_news.rss.channel.link}
linkVars = L
}
[g
et
TSFE
().
type =
=
101]
config {
disableAllHeaderCode = 1
xhtml_cleaning = none
admPanel = 0
debug = 0
disablePrefixComment = 1
metaCharset = utf-8
additionalHeaders.5.header = Content-Type:application/rss+xml;charset=utf-8
additionalHeaders.5.replace = 1
absRefPrefix = {$plugin.tx_news.rss.channel.link}
linkVars = L
}
pageSecurityRSS = PAGE
pageSecurityRSS {
typeNum = 101
10 = USER
10 {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
extensionName = News
vendorName = GeorgRinger
pluginName = Pi1
switchableControllerActions {
News {
1 = list
}
pageSecurityRSS = PAGE
pageSecurityRSS {
typeNum = 101
10 = USER
10 {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
extensionName = News
vendorName = GeorgRinger
pluginName = Pi1
switchableControllerActions {
News {
1 = list
}
}
settings < plugin.tx_news.settings
settings {
limit = 30
detailPid = 523
startingpoint = 231
recursive = 2
format = xml
list.rss.channel {
title = Official typo3.org security advisories
link = https://typo3.org/security
}
settings < plugin.tx_news.settings
settings {
limit = 30
detailPid = 523
startingpoint = 231
recursive = 2
format = xml
list.rss.channel {
title = Official typo3.org security advisories
link = https://typo3.org/security
}
}
view < plugin.tx_news.view
view {
templateRootPaths {
2 = EXT:t3org_layout/Resources/Private/Templates/News/Security/
}
view < plugin.tx_news.view
view {
templateRootPaths {
2 = EXT:t3org_layout/Resources/Private/Templates/News/Security/
}
}
}
}
[global]
# RSS feed with all news elements, used by discourse integration
[globalVar = TSFE:type = 155]
config {
disableAllHeaderCode = 1
xhtml_cleaning = none
admPanel = 0
debug = 0
disablePrefixComment = 1
metaCharset = utf-8
additionalHeaders.5 {
header = Content-Type:application/rss+xml;charset=utf-8
replace = 1
}
absRefPrefix = {$plugin.tx_news.rss.channel.link}
[getTSFE().type == 155]
config {
disableAllHeaderCode = 1
xhtml_cleaning = none
admPanel = 0
debug = 0
disablePrefixComment = 1
metaCharset = utf-8
additionalHeaders.5 {
header = Content-Type:application/rss+xml;charset=utf-8
replace = 1
}
absRefPrefix = {$plugin.tx_news.rss.channel.link}
}
pageNewsRSS = PAGE
pageNewsRSS {
typeNum = 155
10 = USER
10 {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
extensionName = News
vendorName = GeorgRinger
pluginName = Pi1
switchableControllerActions {
News {
1 = list
}
pageNewsRSS = PAGE
pageNewsRSS {
typeNum = 155
10 = USER
10 {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
extensionName = News
vendorName = GeorgRinger
pluginName = Pi1
switchableControllerActions {
News {
1 = list
}
}
settings < plugin.tx_news.settings
settings {
detailPid = 185
startingpoint = 179
recursive = 1
format = xml
list.rss.channel {
title = typo3.org news
link = {$plugin.tx_news.rss.channel.link}
}
settings < plugin.tx_news.settings
settings {
detailPid = 185
startingpoint = 179
recursive = 1
format = xml
list.rss.channel {
title = typo3.org news
link = {$plugin.tx_news.rss.channel.link}
}
}
view < plugin.tx_news.view
view {
templateRootPaths {
2 = EXT:t3org_layout/Resources/Private/Templates/News/
}
view < plugin.tx_news.view
view {
templateRootPaths {
2 = EXT:t3org_layout/Resources/Private/Templates/News/
}
}
}
}
[global]
extensions/t3org_layout/Configuration/TypoScript/Ext/Piwik.typoscript
View file @
14e75c13
[applicationContext == "Production"]
page {
5 = TEXT
5.value (
...
...
@@ -24,3 +25,4 @@ page {
<noscript><img src="//piwik.typo3.org/piwik.php?idsite=2&rec=1" style="border:0;" alt=""/></noscript>
)
}
[global]
\ No newline at end of file
extensions/t3org_layout/Configuration/TypoScript/Ext/SfEventMgt.typoscript
View file @
14e75c13
...
...
@@ -19,8 +19,10 @@ plugin.tx_sfeventmgt {
config.recordLinks.sf_event_mgt {
typolink {
parameter = 230
additionalParams.data = field:uid
additionalParams.wrap = &tx_sfeventmgt_pievent[event]=|&tx_sfeventmgt_pievent[controller]=Event&tx_sfeventmgt_pievent[action]=detail
additionalParams {
data = field:uid
wrap = &tx_sfeventmgt_pievent[event]=|&tx_sfeventmgt_pievent[controller]=Event&tx_sfeventmgt_pievent[action]=detail
}
useCacheHash = 1
}
}
...
...
@@ -60,35 +62,35 @@ pageNewsICalendar {
}
[globalVar = GP:tx_sfeventmgt_pievent|event > 0]
# remove all meta tags from cs_seo
page.headerData.654 >
# remove all meta tags from cs_seo
page.headerData.654 >
config.noPageTitle = 2
config.noPageTitle = 2
temp.eventTitle = RECORDS
temp.eventTitle {
dontCheckPid = 1
source {
data = GP:tx_sfeventmgt_pievent|event
intval = 1
}
temp.eventTitle = RECORDS
temp.eventTitle {
dontCheckPid = 1
source {
data = GP:tx_sfeventmgt_pievent|event
intval = 1
}
tables = tx_sfeventmgt_domain_model_event
conf {
tx_sfeventmgt_domain_model_event >
tx_sfeventmgt_domain_model_event = TEXT
tx_sfeventmgt_domain_model_event {
field = title
htmlSpecialChars = 1
noTrimWrap = |||
}
tables = tx_sfeventmgt_domain_model_event
conf {
tx_sfeventmgt_domain_model_event >
tx_sfeventmgt_domain_model_event = TEXT
tx_sfeventmgt_domain_model_event {
field = title
htmlSpecialChars = 1
noTrimWrap = |||
}
}
}
page.headerData {
23424 = COA
23424 < temp.eventTitle
23424.wrap = <title>|</title>
}
page.headerData {
23424 = COA
23424 < temp.eventTitle
23424.wrap = <title>|</title>
}
[end]
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment