Search (ke_search)¶
Overriding the FLUID templates¶
This is how the templates are overwritten by the Higher Education Package:
plugin.tx_kesearch_pi1 {
templateRootPaths.10 = EXT:higher_education_package/Resources/Private/Templates/KeSearch/
partialRootPaths.10 = EXT:higher_education_package/Resources/Private/Partials/KeSearch/
layoutRootPaths.10 = EXT:higher_education_package/Resources/Private/Layouts/KeSearch/
}
plugin.tx_kesearch_pi2 {
templateRootPaths.10 = EXT:higher_education_package/Resources/Private/Templates/KeSearch/
partialRootPaths.10 = EXT:higher_education_package/Resources/Private/Partials/KeSearch/
layoutRootPaths.10 = EXT:higher_education_package/Resources/Private/Layouts/KeSearch/
}
If you want to overwrite the templates you can set new paths with a increased number.
plugin.tx_kesearch_pi1 {
templateRootPaths.20 = EXT:your_extension_key/Resources/Private/Templates/KeSearch/
partialRootPaths.20 = EXT:your_extension_key/Resources/Private/Partials/KeSearch/
layoutRootPaths.20 = EXT:your_extension_key/Resources/Private/Layouts/KeSearch/
}
plugin.tx_kesearch_pi2 {
templateRootPaths.20 = EXT:your_extension_key/Resources/Private/Templates/KeSearch/
partialRootPaths.20 = EXT:your_extension_key/Resources/Private/Partials/KeSearch/
layoutRootPaths.20 = EXT:your_extension_key/Resources/Private/Layouts/KeSearch/
}
Tip
See the general ke_search documentation for further information: