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 parameter not working for me

November 04, 2008 1:20pm

Subscribe [2]
  • #1 / Nov 04, 2008 1:20pm

    grizzlies

    27 posts

    This question may be related to a resolved thread.

    I’m not having any luck with the search parameter. It seems pretty straightforward, so I’m sure it’s something really simple I’m overlooking.

    We have a site with 6 blogs and growing.  I want to be able to pick which post gets “featured” in certain areas throughout the site.

    I created a custom dropdown field named “feature-post” with “No” and “Yes” as the 2 options. The field defaults to “No” so adding the search parameter to look for a “Yes” should result in no posts being featured. But it doesn’t seem to be working. The latest post is showing up regardless of the value. 

    Here’s the opening tag:

    {exp:weblog:entries weblog="blog1|blog2|blog3|blog4|blog5" limit="1" dynamic="off" status="open" search:feature-post="Yes" }

    I even went in to the entry and toggled the value, but still no change.

    I’m still running 1.6.0 (I know, I know).  Is that the issue?

  • #2 / Nov 04, 2008 1:25pm

    Ingmar

    29245 posts

    Yes. The search parameter was added with EE 1.6.1.

  • #3 / Nov 06, 2008 12:10pm

    grizzlies

    27 posts

    ahhhhh.  That did it.  Thanks a bunch.

  • #4 / Nov 06, 2008 1:13pm

    Robin Sowell

    13255 posts

    Glad Ingmar got you squared away!

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

ExpressionEngine News!

#eecms, #events, #releases