Search (Solr)

Overriding the FLUID templates

Solr: Listing

This is how the templates are assigned in the solr extension:

plugin.tx_solr {
    view {
        templateRootPaths {
            0 = EXT:solr/Resources/Private/Templates/
            10 = {$plugin.tx_solr.view.templateRootPath}
        }
        partialRootPaths {
            0 = EXT:solr/Resources/Private/Partials/
            10 = {$plugin.tx_solr.view.partialRootPath}
        }
        layoutRootPaths {
            0 = EXT:solr/Resources/Private/Layouts/
            10 = {$plugin.tx_solr.view.layoutRootPath}
        }
    }
}

If you want to overwrite the templates you can set new paths in constants.

plugin.tx_solr.view {
    templateRootPath = EXT:your_extension_key/Resources/Private/Templates/Solr/
    partialRootPath = EXT:your_extension_key/Resources/Private/Partials/Solr/
    layoutRootPath = EXT:your_extension_key/Resources/Private/Layouts/Solr/
}