Videos¶
Overriding the FLUID templates¶
Video¶
This is how the templates are assigned in the higher_education_package:
plugin.tx_highereducationpackage_video {
view {
templateRootPaths{
0 = EXT:higher_education_package/Resources/Private/Templates/
10 = {$plugin.tx_highereducationpackage_video.view.templateRootPath}
}
partialRootPaths {
0 = EXT:higher_education_package/Resources/Private/Partials/
10 = {$plugin.tx_highereducationpackage_video.view.partialRootPath}
}
layoutRootPaths {
0 = EXT:higher_education_package/Resources/Private/Layouts/
10 = {$plugin.tx_highereducationpackage_video.view.layoutRootPath}
}
}
}
If you want to overwrite the templates you can set new paths with a increased number.
plugin.tx_highereducationpackage_video.view {
templateRootPaths.20 = EXT:your_extension_key/Resources/Private/Templates/Video/
partialRootPaths.20 = EXT:your_extension_key/Resources/Private/Partials/Video/
layoutRootPaths.20 = EXT:your_extension_key/Resources/Private/Layouts/Video/
}