Question: The extension [ke\_search](https://typo3.org/extensions/repository/view/ke_search) has a search field plugin that I want to insert into my fluidtemplate and show on every page. I am very new in this and don't know how to start. Any help is appreciated.

Answer: 
You can assign the Plugin to an typoscript lib:

```
lib.searchMask < tt_content.list.20.your_plugin

```

(Please search the location of the plugin in the typoscript browser)

In your fluid you can use `f:cObject`to include it:

```
<f:cObject typoscriptObjectPath="lib.searchMask" />

```
There is on more option if you only want the search input but no results e.g. in a header or footer. I could only test this in a TYPO3 11.5 with indexed\_search though! The general approach might also work with ke\_search.

My TypoScript setup:

```
plugin.tx_indexedsearch.settings {
    targetPid = 17
    displayAdvancedSearchLink = 0
}

lib.search = FLUIDTEMPLATE
lib.search{
    file = EXT:mysitepackage/Resources/Private/Partials/IndexedSearch/Form.html
    settings < plugin.tx_indexedsearch.settings
}

// Custom templates for indexed search.
plugin.tx_indexedsearch.view {
    templateRootPaths {
        0 = EXT:indexed_search/Resources/Private/Templates/
        10 = {$plugin.tx_indexedsearch.view.templateRootPath}
        20 = EXT:mysitepackage/Resources/Private/Templates/IndexedSearch/
    }

    partialRootPaths {
        0 = EXT:indexed_search/Resources/Private/Partials/
        10 = {$plugin.tx_indexedsearch.view.partialRootPath}
        20 = EXT:mysitepackage/Resources/Private/Partials/IndexedSearch/
    }
}

```

Then I copied `public/typo3/sysext/indexed_search/Resources/Private/Partials/Form.html` to my folder `public/typo3conf/ext/mysitepackage/Resources/Private/Partials/IndexedSearch/Form.html`.

In the copied file you have to add some attributes to the form tag: `extensionName="IndexedSearch"`, `pluginName="pi2"`and `controller="Search"` so that in the end the form tag looks like this:

```
<f:form action="search" method="post" pageUid="{settings.targetPid}" extensionName="IndexedSearch" pluginName="pi2" controller="Search">

```

Now you can add this to any fluid template to add a search input:

```
<f:cObject typoscriptObjectPath="lib.search" />

```