Commit 28401132 authored by Christian Weiske's avatar Christian Weiske Committed by Tymoteusz Motylewski
Browse files

[TASK] Add documentation for fluid template configuration in indexed_search

Describe how to use custom templates for fluid based indexed_search

Releases: master
Resolves: #75935
Change-Id: I2f55bcd359a8c604907eccf34e93016920a7def1
Reviewed-on: https://review.typo3.org/47929


Reviewed-by: default avatarDaniel Goerz <ervaude@gmail.com>
Tested-by: default avatarDaniel Goerz <ervaude@gmail.com>
Reviewed-by: Tymoteusz Motylewski's avatarTymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski's avatarTymoteusz Motylewski <t.motylewski@gmail.com>
parent 7b665c58
.. ==================================================
.. FOR YOUR INFORMATION
.. --------------------------------------------------
.. -*- coding: utf-8 -*- with BOM.
.. include:: ../../Includes.txt
.. _configuration-fluidtemplating:
Fluid Templating
^^^^^^^^^^^^^^^^
The plugin "Indexed Search (Extbase & Fluid based)" can be extended with custom templates:
.. code-block:: typoscript
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 above configuration will made the plugin look for any template in ``myextension`` first and
fall back to the default ``indexed_search`` template if a template could not be found in
``myextension``.
......@@ -20,4 +20,4 @@ Configuration
General/Index
TypoScript/Index
FluidTemplating/Index
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment