Bug #79006
closedExample for overwriting tx_idexedsearch.view wrong
100%
Description
The documentation of indexed_search show an example on how to overwrite Templates and Partials
plugin.tx_indexedsearch.view {
templateRootPaths {
0 = EXT:indexed_search/Resources/Private/Templates/
1 = EXT:myextension/Resources/Private/Templates/
}
partialRootPaths {
0 = EXT:indexed_search/Resources/Private/Partials/
1 = EXT:myextension/Resources/Private/Partials/
}
}
The Setup of the EXT itself has contains this:
view {
templateRootPaths {
0 = EXT:indexed_search/Resources/Private/Templates/
10 = {$plugin.tx_indexedsearch.view.templateRootPath}
}
partialRootPaths {
0 = EXT:indexed_search/Resources/Private/Partials/
10 = {$plugin.tx_indexedsearch.view.partialRootPath}
}
layoutRootPaths {
0 = EXT:indexed_search/Resources/Private/Layouts/
10 = {$plugin.tx_indexedsearch.view.layoutRootPath}
}
Which means, that the example given in the docs will never be in charge as the higher number will be taken into account.
The example should at least be higher than the default delivered with the EXT
plugin.tx_indexedsearch.view {
templateRootPaths {
0 = EXT:indexed_search/Resources/Private/Templates/
10 = {$plugin.tx_indexedsearch.view.templateRootPath}
20 = EXT:myextension/Resources/Private/Templates/
}
partialRootPaths {
0 = EXT:indexed_search/Resources/Private/Partials/
10 = {$plugin.tx_indexedsearch.view.partialRootPath}
20 = EXT:myextension/Resources/Private/Partials/
}
}
Updated by Gerrit Code Review almost 8 years ago
- Status changed from New to Under Review
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50977
Updated by Gerrit Code Review almost 8 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50977
Updated by Anonymous almost 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c2f2ab67b67b79a6da93f8ba77d992e79468352b.