4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: eeyipes on February 03, 2013, 06:02:44 PM

Title: How To Use Conditionals in Templates?
Post by: eeyipes 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!
Title: Re: How To Use Conditionals in Templates?
Post by: Rembrandt on February 03, 2013, 06:19:55 PM
http://www.4homepages.de/forum/index.php?topic=2218.0
Title: Re: How To Use Conditionals in Templates?
Post by: eeyipes on February 03, 2013, 06:34:53 PM
Perfect, thank you!