Created
October 14, 2016 12:34
-
-
Save DirkWolke/526e91a18e60374ac16cc6638c80e942 to your computer and use it in GitHub Desktop.
#TYPO3 #FLUID searchbox-form for #indexed_search
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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