• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 IF x AND y in TMS

mcatze

Well-known member
#1
I try to make an template modification with some conditional statements. But this is not the normal way like <xen:if is=""></xen:if>

It is in classes or data in the templates (i don't know how to explain), like..
{xen:if {$xenOptions.itm_ctSSB_enable_sharePage.ctSSB_Info}, ',&quot;info&quot;'}
This one is ok, but i need another condition. It should look like..
{xen:if {$xenOptions.itm_ctSSB_enable_sharePage.ctSSB_Info} AND {$xenOptions.itm_ctSSB_infoURL}, ',&quot;info&quot;'}
And this does not work ..

Can anyone help me find the mistake?
 

Chris D

XenForo developer
Staff member
#2
Code:
{xen:if '{$xenOptions.itm_ctSSB_enable_sharePage.ctSSB_Info} AND {$xenOptions.itm_ctSSB_infoURL}', ',&quot;info&quot;'}