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

XF 1.4 inline conditionals

dwdmadmac

Active member
#1
This is pretty self explanatory, however I seem to not get this to work. Am I missing something?

HTML:
<dd class="Tooltip" title="{xen:if '$user.activity', '{xen:if '$user.activity.description && $user.activity.itemTitle', '{$user.activity.description} {$user.activity.itemTitle}', '{xen:phrase viewing_unknown_page}'}', '{xen:datetime time='{$user.effective_last_activity}'}'}"><xen:datetime time="$user.effective_last_activity" /></dd>