Skip to content

Instantly share code, notes, and snippets.

@DirkWolke
Created October 14, 2016 12:34
Show Gist options
  • Save DirkWolke/526e91a18e60374ac16cc6638c80e942 to your computer and use it in GitHub Desktop.
Save DirkWolke/526e91a18e60374ac16cc6638c80e942 to your computer and use it in GitHub Desktop.
#TYPO3 #FLUID searchbox-form for #indexed_search
<f:form class="searchbox form-inline"
pageUid="{pidSearch}"
method="post"
noCacheHash="true"
absolute="0"
action="search"
extensionName="IndexedSearch"
pluginName="pi2"
controller="Search"
>
<div class="input-group">
<f:form.textfield name="search[sword]"
class="form-control"
placeholder="<f:translate key='[your-path]/locallang.xlf:Searchbox.Placeholder' />"
/>
<span class="input-group-btn">
<f:form.button type="submit"
class="btn btn-outline-success"
value="<f:translate key='[your-path]/locallang.xlf:Searchbox.Submit' />"
title="<f:translate key='[your-path]/locallang.xlf:Searchbox.Submit' />"
name="tx_indexedsearch[submit_button]"
>
<i class="fa fa-search" aria-hidden="true"></i>
</f:form.button>
</span>
</div>
</f:form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment