Jump to content

Search in top menu bar doesn't seem to be working


Recommended Posts

Was just trying out the search function on my top menu bar and when I try to search all it does is refresh the home page or if I'm on another page it brings me back to the home page.

 

Any ideas on why this might be happening? I didn't see any JS errors in my Chrome console.

 

Website is www (dot) llmedico (dot) com

 

Thanks!

Link to comment
Share on other sites

{if $MENU != ''}
</div>
<!-- Menu -->
<div class="sf-contener clearfix">
 <ul class="sf-menu clearfix">
  {$MENU}
  {if $MENU_SEARCH}
   <li class="sf-search noBack" style="float:right">
 <form id="searchbox" action="{$link->getPageLink('search')}" method="get">
  <p>
   <input type="hidden" name="controller" value="search" />
   <input type="hidden" value="position" name="orderby"/>
   <input type="hidden" value="desc" name="orderway"/>
   <input type="text" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|escape:'htmlall':'UTF-8'}{/if}" />
  </p>
 </form>
   </li>
  {/if}
 </ul>
 <div class="sf-right"> </div>
<!--/ Menu -->
{/if}

Link to comment
Share on other sites

×
×
  • Create New...