1. 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

Discussion in 'Styling and Customization Questions' started by dwdmadmac, Jul 8, 2015.

  1. dwdmadmac

    dwdmadmac Active Member

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

    <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>
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Some of your params are missing curly brackets.
  3. dwdmadmac

    dwdmadmac Active Member

    :oops: Thank you that fixed it. :giggle:

Share This Page