I'm having a problem where I need to force the amount of loops the box article list module can make depending on the category.
I have 6 categories I need to check and see and instead of those categories having the variable "{VIVVO_MODULES_MORE_NEWS_ARTICLE_NUMBER}" I'm using the loop attribute in the foreach.
Now I can get this working with a simple if statement but only for one category.
My question is, how do I get it to work for several? I noticed there is no OR clause in the if statement.
Here are some examples of how I'm going about this:
This one is for an array (which seems to not work but I feel like I'm close)
Code:
<vte:if test="{'30','33','22','19','16','17'} in {category.id}">
...do your thing...
</vte:if>
This one is the one that works for a single category:
Code:
<vte:if test="'30' in {category.id}">
...do your thing...
</vte:if>