Commit c4740e3b authored by Stefan Busemann's avatar 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
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/
}
}
......
......@@ -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/
}
}
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