- Forum
- Products for Joomla
- Kunena 5.x templates
- RND Kglorious
- Hide search form when there are search results found
Hide search form when there are search results found
- Astrid
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 46
- Karma: 1
- Thank you received: 2
5 years 3 weeks ago #844
by Astrid
Hide search form when there are search results found was created by Astrid
Template is not hiding search form. Could you have a look at this please?
- Eugene S.
-
- Offline
- Administrator
-
5 years 3 weeks ago #845
by Eugene S.
Like our extensions for Kunena?
Add your voice to the JED listing with a 100 score review: bit.ly/2cIg8pF
Thanks!
Replied by Eugene S. on topic Hide search form when there are search results found
Hi Astrid,
I looked at this and could not find an issue.
Screenshots are attached.
Can you provide a screenshot or describe how to reproduce this action step-by-step, please?
I looked at this and could not find an issue.
Screenshots are attached.
Can you provide a screenshot or describe how to reproduce this action step-by-step, please?
Like our extensions for Kunena?
Add your voice to the JED listing with a 100 score review: bit.ly/2cIg8pF
Thanks!
- Astrid
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 46
- Karma: 1
- Thank you received: 2
5 years 3 weeks ago #846
by Astrid
Replied by Astrid on topic Hide search form when there are search results found
Hi Eugene,
It's your second screenshot. If you check with Crypsis, searchbox is hidden when search results are shown. It is verry annoying to scroll down the entire page to find the first search result.
Example from Kunena forum:
www.kunena.org/forum/search?query=joomla...te=all&childforums=1
Example from KGlorious:
demo.roundtheme.com/kunena5/glorious/ind...te=all&childforums=1
It's your second screenshot. If you check with Crypsis, searchbox is hidden when search results are shown. It is verry annoying to scroll down the entire page to find the first search result.
Example from Kunena forum:
www.kunena.org/forum/search?query=joomla...te=all&childforums=1
Example from KGlorious:
demo.roundtheme.com/kunena5/glorious/ind...te=all&childforums=1
- Eugene S.
-
- Offline
- Administrator
-
5 years 3 weeks ago #847
by Eugene S.
Like our extensions for Kunena?
Add your voice to the JED listing with a 100 score review: bit.ly/2cIg8pF
Thanks!
Replied by Eugene S. on topic Hide search form when there are search results found
Ah, now it is clear! We just used different technical terms. I searched small Searchbox (field), but you talked about search form...
Astrid, thank you for the recommendation. We will consider it.
Astrid, thank you for the recommendation. We will consider it.
Like our extensions for Kunena?
Add your voice to the JED listing with a 100 score review: bit.ly/2cIg8pF
Thanks!
- Astrid
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 46
- Karma: 1
- Thank you received: 2
5 years 3 weeks ago #848
by Astrid
Replied by Astrid on topic Hide search form when there are search results found
And I thought it was clear enough by using the text from search.js
Only difference I can see with Crypsis is the last line that is added in KGlorious. But deleting it, doesn't help.

/* Hide search form when there are search results found */
if ( $('#kunena_search_results').is(':visible') ) {
$('#search').collapse("hide");
$('[data-target="#search"]').addClass("collapsed");
}
- Dmitry
-
- Offline
- Administrator
-
Less
More
- Posts: 42
- Thank you received: 1
5 years 3 weeks ago #857
by Dmitry
Replied by Dmitry on topic Hide search form when there are search results found
Hi Astrid.
We use a different layout. Change #kunena_search_results to #kunena_search_results_0.
Dmitry
We use a different layout. Change #kunena_search_results to #kunena_search_results_0.
Dmitry
Moderators: Eugene S.