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.

Template question

December 21, 2010 12:16pm

Subscribe [1]
  • #1 / Dec 21, 2010 12:16pm

    WaterfowlZone

    55 posts

    I have one template that I use for several different categories.  So, I want to be able to do a statement that shows only one of the categories pages.  I was thinking something like so:

    {if category == "1"}
    show this statement/disclaimer
    {/if}

    I am having a tough time getting it to work correctly.

    Thanks for your help!

  • #2 / Dec 21, 2010 12:22pm

    WaterfowlZone

    55 posts

    sorry, brain lapse…I am using:

    {exp:weblog:entries category="1"}
    show this statement/disclaimer
    {/exp:weblog:entries}

    good to go…thanks

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

ExpressionEngine News!

#eecms, #events, #releases