Feature #69292
closed
Index search: search form ViewHelper
Added by Felix Kopp about 9 years ago.
Updated almost 8 years ago.
Description
Deliver viewhelper for the indexed_search search form for the frontend.
Use case
page = PAGE
page.1 = FLUIDTEMPLATE
in Fluid template a search form for the frontend is included.
This search form could/should come from a viewhelper in EXT: indexed_search.
In fluid page template:
{namespace is=…\CMS\IndexedSearch}
<is:form pageUid="{settings.searchPid}" section="{settings.search.section}" … />
- Category set to Indexed Search
- Sprint Focus set to On Location Sprint
- Sprint Focus deleted (
On Location Sprint)
Hey,
shouldn't it be sufficient if we add a Plugin with just the "form" action that just shows the form? I guess the reason for that is to have a quick search form in the header, right?
- Status changed from New to Needs Feedback
Hi,
EXT:indexed_search already uses the f:form
viewHelper.
If you want to include the index_search form directly in typoscript just use some typoscript like:
lib.searchbox < plugin.tx_indexedsearch
lib.searchbox {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
extensionName = IndexedSearch
pluginName = Pi2
vendorName = TYPO3\CMS
controller = Search
switchableControllerActions {
Search {
1 = form
}
}
}
or do I mis understand your issue?
- Status changed from Needs Feedback to Closed
No feedback since the last 90 days > closing this issue.
If you think that this is the wrong decision or experience the issue again, then please reopen it or open a new issue with a reference to this one. Thank you
Also available in: Atom
PDF