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

Fix the knowledge base search box #3

Open
scith opened this issue Feb 23, 2016 · 1 comment
Open

Fix the knowledge base search box #3

scith opened this issue Feb 23, 2016 · 1 comment

Comments

@scith
Copy link
Owner

scith commented Feb 23, 2016

Not working at the moment.
The GET request goes to index instead of to /kb

@reingram
Copy link

In the file mod_kb_index.phtml replace the form with

<form method="get" action="">
<div class="input-group">
<input class="" name="_url" type="hidden" value="/kb">
<input name="q" type="text" class="form-control" value="{{ request.q }}" placeholder="{% trans 'What are you looking for?' %}">
<span class="input-group-btn">
<button class="btn btn-default" type="submit"><i class="fa fa-search"></i></button>
</span>
</div>
</form>

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

No branches or pull requests

2 participants