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

February 06, 2012 6:14am

Subscribe [2]
  • #1 / Feb 06, 2012 6:14am

    zupi

    283 posts

    hello guys,
    I’ve just updated 1.6.x to 2.3.1

    but we realized all old entries we are not able to search?
    lots of words and that we use to find our entries are not working,

    what can I do to try to solve this issue
    regards,
    allan

  • #2 / Feb 07, 2012 1:42pm

    Dan Decker

    7338 posts

    Hi zupi,

    I’m sorry searching is not working after your update. Let’s get this sorted out!

    Can you post the template code for your search form and your result an no_result templates and we’ll get started troubleshooting.

    Are you using any third-party add-ons that have anything to do with searching?

    I look forward to your response!

    Cheers!

  • #3 / Feb 07, 2012 2:01pm

    zupi

    283 posts

    hi,
    I’m not using any third party for search.

    Here it is:

    {exp:search:simple_form search_in="everywhere" status="open" id="searchForm"}
    
    <input type="text" name="keywords" value="" class="input-search" /> 
    
    
    <input type="submit" value="Pesquisar" class="botao" />
    
    {/exp:search:simple_form}</div><!-- fim da id dois -->

    and here is the result:

    <table class='breadcrumb' border='0' cellpadding='0' cellspacing='0' width='99%'>
    <tr>
    <td><h1><b>Resultado da Busca por: {exp:search:keywords}</b></h1></td>
    <td align="right"><span class="texto">Total de Resultados: {exp:search:total_results}</span></td>
    </tr>
    </table>
    
    {exp:search:search_results switch="resultRowOne|resultRowTwo"}
    
    <div id="imgextended"><a href="http://{title_permalink={my_template_group}/view}">{extended}</a></div>
    <h1>{title}</h1>
    
    <font class="caixa"> ยป {categories backspace="2"}{category_name} | {/categories} / por <a href="http://{profile_path=member/index}" title="Ver todos os posts e o perfil do colaborador" class="linkbgred">{author}</a></font>
    
    <span class="linksumario"><a href="http://{title_permalink={my_template_group}/view}class=linksumario">{summary}</a></span>
    
    <font class="postado">postado em {entry_date format='%d/%m/%Y'} | {entry_date format='%h:%i %A'}</font>
              
    
    <a href="http://www.voxelshow.com.br/img/divisor.gif">http://www.voxelshow.com.br/img/divisor.gif</a>
    
    
    {/exp:search:search_results}
    {if paginate}
    <div id="paginacao"><span class="pagecount">{page_count}</span> |  {paginate}</div>
    {/if}
    </div>
    
    
    
    
    
    <div id="back"><a href="http://{homepage}">http://www.voxelshow.com.br/img/arrow_back.gif</a></div>
    <!-- fim do BACK -->
    
     
    </div><!-- fim da id left -->
    
    <div id="right">
    
    <div id="um">{exp:search:simple_form search_in="everywhere"}
    
    <input type="text" name="keywords" value="" class="input-search" /> 
    
    
    <input name="bot" type="image" src="http://www.voxelshow.com.br/img/search.gif" class="submit" width="30" height="34">
    
    {/exp:search:simple_form}</div> 
    <!-- fim da id um -->
    <div id="dois">{embed="site_zupi/avatares"}</div>
    <!-- fim da id dois -->
    <div id="tres">{half_banner}
    </div><!-- fim da id tres -->
    
    <div id="tres"> {support}
    </div> <!-- fim da id tres -->
    
    <div id="tres">{blogs}</div> 
    <!-- fim da id quatro -->
    
    {embed="site_zupi/tagcloud"}
    
    </div><!-- fim da id right -->
    </div><!-- fim da id central1 -->
    
    
    <div id="clean"></div>
    
    <div align="center" id="rodape">{embed="site_zupi/rodape"}</div> 
    <!-- fim da id rodape -->
    
    </div> <!-- fim da id geral -->
  • #4 / Feb 10, 2012 6:19pm

    Dan Decker

    7338 posts

    Hi Allan,

    I have a couple of ideas for you to try. Can you add the parameter for where=? Also, the id= parameter should be form_id=.

    {exp:search:simple_form search_in="everywhere" status="open" form_id="searchForm" where="any"}

    I look forward to your response.

    Cheers!

  • #5 / Feb 13, 2012 8:52am

    zupi

    283 posts

    great, I think now it’s working again
    regards,
    allan

     

  • #6 / Feb 14, 2012 3:29pm

    Shane Eckert

    7174 posts

    Hello Allan,

    Isn’t Dan great? I am glad he could help you out.

    If there is anything else we can help you with, just let us know.

    Thank you for using the ExpressionEngine forums, and have a great week!

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases