Author Topic: How To Use Conditionals in Templates?  (Read 3218 times)

0 Members and 1 Guest are viewing this topic.

Offline eeyipes

  • Pre-Newbie
  • Posts: 7
    • View Profile
How To Use Conditionals in Templates?
« on: February 03, 2013, 06:02:44 PM »
I'm wondering how to use conditional statements in the templates.

For example, I'd like something to show in the thumbnail_bit only for specific categories.

So I'd like to do something like
 {if category_is_999}
show something for category 999
{elseif category_is_998}
show something for category 999
{else}
show something for every other category
{endif category_is_999}


thanks!

Rembrandt

  • Guest

Offline eeyipes

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: How To Use Conditionals in Templates?
« Reply #2 on: February 03, 2013, 06:34:53 PM »
Perfect, thank you!