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.

closed entries are being shown at seach results . how can I avoid it?

February 03, 2011 1:20pm

Subscribe [2]
  • #1 / Feb 03, 2011 1:20pm

    zupi

    283 posts

    guys,
    closed entries are being shown at search results . how can I avoid it?
    what should I put in the tags to avoid it?
    regards,
    allan

  • #2 / Feb 04, 2011 4:57am

    Ingmar

    29245 posts

    Use the status parameter in your tag, like so:

    {exp:search:simple_form channel="foo" status="not closed"}
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases