ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Search no longer works

April 16, 2013 11:39am

Subscribe [2]
  • #1 / Apr 16, 2013 11:39am

    CMG Dev

    28 posts

    Site was moved from one server to another and after that search box at http://www.childrensmedgroup.com/ doesn’t work as should.

    Code for search box looks like:

    {exp:search:simple_form channel="cmg"}
    <div >
    <input type="text" name="keywords" id="keywords" value="" size="18" maxlength="100" placeholder="Search this site" class="topSearchBox" /><input type="submit" name="search" value="Go" class="topSearchButton">
    </div>
    {/exp:search:simple_form}

    Any clue why is not returning any results?

    Thanks

  • #2 / Apr 18, 2013 1:14am

    Riverboy

    2993 posts

    Not sure but i have set from where to look (entries) and also i have no result teamplates and result-templates and all of those are missing from your code, so:

    {exp:search:simple_form search_in="entries" channel="cmg" no_result_page="template_group/no_results" result_page="template_group/results"}

    Perhaps?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases