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 and Structure

November 08, 2012 2:19pm

Subscribe [2]
  • #1 / Nov 08, 2012 2:19pm

    Jaybe Allanson

    13 posts

    Hi, I am setting up a simple search for one weblog within my EE1 site.  Search works great for titles of entries but it doesn’t seem to find anything within the body copy.  The weblog I am searching uses Structure so I’m not sure if that makes a difference. 

    Here is my code:

    {exp:search:simple_form weblog="wl_practice" search_in="everything"}
         
              <label for=“keywords”>Search:</label>

              <input type=“text” name=“keywords” id=“keywords” value=”” size=“18” maxlength=“100”>
         
         
              <input type=“submit” value=“submit” class=“submit”>
         
    {/exp:search:simple_form}

    Thanks!

  • #2 / Nov 09, 2012 3:44pm

    Shane Eckert's avatar

    Shane Eckert

    7174 posts

    Hello Jaybe Allanson,

    Thank you for posting your question.

    The parameter you are using is correct, but you want to use “everywhere” and not “everything”.

    {exp:search:simple_form weblog=“wl_practice” search_in=“everywhere”}

    Can you give that a go?

    Thank you,

     

  • #3 / Nov 09, 2012 5:32pm

    Jaybe Allanson

    13 posts

    Yup, that’s got it.  Thanks!

  • #4 / Nov 09, 2012 5:35pm

    Shane Eckert's avatar

    Shane Eckert

    7174 posts

    Hey Jaybe Allanson,

    Awesome! Glad to help!

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases