View Full Version : Keyword search - hide advanced
Client_uk
September 5, 2015, 07:05 PM
How do I set "Advanced options" to toggled off ?
1447
Client_uk
September 7, 2015, 09:17 AM
Is there nay way this could be hidden by default?
Viktor
September 7, 2015, 11:19 AM
Hello,
You can change it through ftp://templates>>your_template>>tpl>>blocks>>
fields_refine.tpl
fields_search.tpl
fields_search_box.tpl
keyword_search.tpl
find code:
{if $field.Key == 'keyword_search'}
<div class="kws-block">
<div class="options">
and replace to:
{if $field.Key == 'keyword_search'}
<div class="kws-block">
<div class="options hide">
(Simply add 'hide' class after 'options' )
save and check again.
Client_uk
September 7, 2015, 11:22 AM
woah, thanks :) would be nice having this as a checkbox in the AP
Viktor
September 7, 2015, 11:26 AM
Ok, we'll add it to the configurations if it wants at least another 5 or more clients.
Let me know if anybody want it too :)
Client_uk
September 9, 2015, 04:22 AM
Works perfectly fine :)
Joseph Loguercio
October 20, 2015, 10:00 PM
+1... I want it to.
Viktor
October 21, 2015, 08:27 AM
You can try to use code above. :)
Harald M.
August 18, 2019, 07:02 PM
+1... I want it to.
Powered by vBulletin® Version 4.1.9 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.