Project

General

Profile

Actions

Feature #69292

closed

Index search: search form ViewHelper

Added by Felix Kopp about 9 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2015-08-24
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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}" … />

Actions #1

Updated by Riccardo De Contardi almost 9 years ago

  • Category set to Indexed Search
Actions #2

Updated by Anja Leichsenring over 8 years ago

  • Sprint Focus set to On Location Sprint
Actions #3

Updated by Benni Mack over 8 years ago

  • 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?

Actions #4

Updated by Frans Saris about 8 years ago

  • 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?

Actions #5

Updated by Riccardo De Contardi almost 8 years ago

  • 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

Actions

Also available in: Atom PDF