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.

Simple Search: Only pulling results from weblog "title" field

November 07, 2012 2:14pm

Subscribe [1]
  • #1 / Nov 07, 2012 2:14pm

    etapwebservices

    20 posts

    Hello:

    I have a site running 1.7.2 which uses a simple search module: www.yamass.org.

    I’ve tried everything I can think of but the module is only pulling back results from weblog entry titles rather than entry content. My code is below:

    {exp:search:simple_form search_in="everywhere" id="search" show_future_entries="yes" show_expired="no" no_result_page="main/no-result" result_page="main/search-results" where="any" weblog="all"}
    <input name="keywords" type="text" value="Search the Site">
    {/exp:search:simple_form}

    Can anyone tell me what I’m missing?

    Thanks!

  • #2 / Nov 08, 2012 12:48pm

    Dan Decker

    7338 posts

    Hi etapwebservices,

    Thanks for posting here on the forums!

    Let’s break it down. Right off, the weblog= parameter doesn’t support an “all” value. That parameter isn’t required, so if you omit it, “all” would be implied.

    Let’s loosen things up a bit:

    {exp:search:simple_form search_in="everywhere" id="search" show_future_entries="yes" show_expired="yes" no_result_page="main/no-result" result_page="main/search-results" where="any"}
    <input name="keywords" type="text" value="Search the Site">
    {/exp:search:simple_form}

    Give that a spin and let me know the results!

    Cheers,

  • #3 / Nov 08, 2012 12:58pm

    etapwebservices

    20 posts

    Hi Dan:

    Thanks for the response and the new code. Unfortunately I’m still only pulling back titles and not content.

    Thanks!

  • #4 / Nov 09, 2012 3:48pm

    Kevin Smith's avatar

    Kevin Smith

    4784 posts

    Hi etapwebservices,

    If it’s not pulling back results from your other fields, could you check to see if those field having searching enabled?

  • #5 / Nov 12, 2012 10:12am

    etapwebservices

    20 posts

    Hi Kevin,

    The custom fields do have searching enabled.

    Thanks!

  • #6 / Nov 13, 2012 4:25pm

    Kevin Smith's avatar

    Kevin Smith

    4784 posts

    I think I can help figure this one out a bit quicker by taking a look at it first-hand. Be on the lookout for an email from me!

  • #7 / Nov 13, 2012 4:56pm

    etapwebservices

    20 posts

    Hi Kevin,

    Reply sent.

    Thanks!

  • #8 / Nov 15, 2012 3:45pm

    Dan Decker

    7338 posts

    Hi Wesley,

    It looks like Shane was able to track this down to an Extension conflict?

    We’re still working on this in private, but that’s the initial conclusion. We’ll follow when we have a full answer!

    Cheers,

  • #9 / Nov 15, 2012 3:47pm

    etapwebservices

    20 posts

    Hi Dan:

    Shane did track down the conflict, thank you. I’m looking into the issue on my end.

    Thanks!

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

ExpressionEngine News!

#eecms, #events, #releases