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.

check category for conditional statement

April 11, 2011 10:39am

Subscribe [2]
  • #1 / Apr 11, 2011 10:39am

    Alli

    158 posts

    Is it possible to do something like this within a exp:weblog:entries

    {if {category_name}!=“title_of_category”}Then show this{/if}

  • #2 / Apr 11, 2011 11:21am

    Alli

    158 posts

    It’s okay I found my answer:

    {if '{categories}{category_url_title}{/categories}’!= “title_of_category”}

  • #3 / Apr 11, 2011 9:14pm

    Sue Crocker

    26054 posts

    Glad you were able to figure out what the problem was. Don’t hesitate to post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases