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.

how can I show contents for a category inside the search results?

December 17, 2010 1:42pm

Subscribe [2]
  • #1 / Dec 17, 2010 1:42pm

    zupi

    283 posts

    in the page: http://boro.com.br/express/index.php/search/results/fa51d2b394d2c3486bb84b686bba6b5a/

    I’m trying to put a category, but because it’s a different template it’s not working, what should I change to fix it?
    regards,
    allan

  • #2 / Dec 18, 2010 4:34pm

    Greg Salt

    3988 posts

    Hi zupi,

    The search:search_results tag doesn’t support the display of entry categories. But that tag does return the entry_id so you could write a small plugin to get that information or you could pass the entry_id into an embedded template that could display the associated categories. Shall I move this thread into the CodeShare Corner so that you can get some community feedback into what you’re trying to do?

    Cheers

    Greg

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

ExpressionEngine News!

#eecms, #events, #releases