![]() |
Quick smarty question
I want to display a block of text for certain categories. I have this smarty code:
{if $smarty.get.cat eq "292"}some text{/if} How do I change that to show the text for multiple category numbers? |
Re: Quick smarty question
Just $cat should suffice...
Code:
{if $cat eq "292" || $cat eq "293"} Code:
{if $cat gte "292" || $cat lte "393"} http://smarty.php.net/manual/en/language.function.if.php |
Re: Quick smarty question
Thanks, Phil! :)
|
All times are GMT -8. The time now is 06:45 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.