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 'all' not just posts

June 12, 2008 6:15pm

Subscribe [2]
  • #1 / Jun 12, 2008 6:15pm

    wpaoli

    3 posts

    Hello, is there a way to implement search so that it searches within the posts as well as the author’s name?

    Currently my search field input looks like this:

    {exp:search:simple_form search_in="everywhere"}
            <fieldset>
            <input type="text" class="search-field" name="keywords" id="keywords" value="" size="18" maxlength="100" />
            <input type="submit" value="Go" class="submit" />
            </fieldset>
    {/exp:search:simple_form}

    Is their anything I can do, perhaps by using hidden fields or something to have it search by author at the same time?

  • #2 / Jun 18, 2008 11:40am

    grantmx

    1439 posts

    Include

    weblog="your-blog-name-here"

    in the search parameters.

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

ExpressionEngine News!

#eecms, #events, #releases