Support

  1. galbur
  2. General
  3. Monday, September 06 2021, 11:07 AM
Hi

Is there no way to reset a search with the Easy Profile Search Module?
A reset Button?

Thank you
Best regards
Christoph
admin Accepted Answer
Admin
Hi,
you can it with template override feature:
- Go to Extensions->Templates->Templates
- Choose your theme
- Go to tab "Create Override"
- Choose the module theme "mod_jsnsearch"
- From "Editor" tab choose following path html->mod_jsnsearch->default.php
- Add the reset button at line 100 like
<input type="reset" class="btn btn-danger" value="Reset" />
  1. more than a month ago
  2. General
  3. # 1
galbur Accepted Answer
Pro
Hi

I come back with this question.
Until now i used the Ajax-Version of the JSN Search Module.
A lot of customers had problem with Ajax. Because they used the Enter Key.
So i disabled Ajax and i used your instructions to insert a reset Button.
I can see the Button but it doesn't work.

Because it doesn't work, I set the reset button to display none.

Thank you
Best regards
Christoph
References
  1. https://forumenergie.ch/energieberatung
  1. more than a month ago
  2. General
  3. # 3
admin Accepted Answer
Admin
Hi,
in your case instead a reset button you can add a link do same page without search variables, so something like
<a class="btn btn-danger" href="/energieberatung" style="order: 100;margin-top: 10px;align-self: baseline;">Suche zurücksetzen</a>
  1. more than a month ago
  2. General
  3. # 4
galbur Accepted Answer
Pro
Hi

Thank you! This works perfect.

Best regards
Christoph
  1. more than a month ago
  2. General
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.