Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to configure redirection on submit? #167

Open
madiyetov opened this issue Dec 4, 2018 · 0 comments
Open

How to configure redirection on submit? #167

madiyetov opened this issue Dec 4, 2018 · 0 comments

Comments

@madiyetov
Copy link

simplesearch.yaml file:

enabled: true
built_in_css: true
built_in_js: true
display_button: false
min_query_length: 3
route: /help
search_content: raw
template: categories
filters: @self
filter_combinator: or
ignore_accented_characters: false
order:
    by: date
    dir: desc

I have header.twig.html template which have simplesearch-box element. This template is added to different routes. So for simplesearch to work I need to redirect it to /help page because of route: /help configured. How can I do that or may be there are another ways to get same behavior?

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant