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.

Help including categories in search

July 09, 2009 3:44pm

Subscribe [1]
  • #1 / Jul 09, 2009 3:44pm

    Tim Griesser

    13 posts

    I am working on a site with a simple search setup, with different weblog entries being grouped under different categories, with my search code as follows.

    {exp:search:simple_form weblog="listing" id="main_search" search_in="everywhere"}
        <input type="text" name="keywords" value="" id="search"/>
        <button>Search</button>
    {/exp:search:simple_form}

    It is working well for searching everything except for the categories they are listed under. For example if I have a few restaurants listed under the “Food” category, but I do a search for food, only the results which have the word food listed in one of the custom weblog fields are displayed, rather than any entry which falls under the food category.

    I’ve looked around and can’t seem to find how to make the categories searchable, is there something I’m missing on the admin or is it something else?

  • #2 / Jul 09, 2009 4:24pm

    ender

    1644 posts

    this was discussed, more or less, over here

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

ExpressionEngine News!

#eecms, #events, #releases