#79006Example for overwriting tx_idexedsearch.view wrong
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/
}
}