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
c4740e3b
Commit
c4740e3b
authored
Nov 11, 2020
by
Stefan Busemann
Browse files
[BUGFIX] Apply a higher priority for security templates
parent
09b4cb9c
Pipeline
#9973
passed with stages
in 5 minutes and 32 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extensions/t3org_layout/Configuration/TypoScript/SecurityAdvisories/setup.typoscript
View file @
c4740e3b
plugin.tx_news {
view {
templateRootPaths {
2
= EXT:t3org_layout/Resources/Private/Templates/News/Security/
99
= EXT:t3org_layout/Resources/Private/Templates/News/Security/
}
partialRootPaths {
2
= EXT:t3org_layout/Resources/Private/Partials/News/Security/
99
= EXT:t3org_layout/Resources/Private/Partials/News/Security/
}
layoutRootPaths {
2
= EXT:t3org_layout/Resources/Private/Layouts/News/Security/
99
= EXT:t3org_layout/Resources/Private/Layouts/News/Security/
}
}
...
...
extensions/t3org_layout/Documentation/functions/news/security-advisories/index.rst
View file @
c4740e3b
...
...
@@ -34,5 +34,24 @@ security/advisory/ ==> detail page
Article detail page UID needs to be 523
templateRootPaths, partialRootPaths, layoutRootPaths are set to 99, in order to apply the templates. This won't work,
if there is another template, which brings a higher configuration number (f.e. 100)
plugin.tx_news {
view {
templateRootPaths {
99 = EXT:t3org_layout/Resources/Private/Templates/News/Security/
}
partialRootPaths {
99 = EXT:t3org_layout/Resources/Private/Partials/News/Security/
}
layoutRootPaths {
99 = EXT:t3org_layout/Resources/Private/Layouts/News/Security/
}
}
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