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

XF 1.5 Conditional Statements give error.

Discussion in 'XenForo Questions and Support' started by dondomainer, Sep 27, 2016.

  1. dondomainer

    dondomainer Member

    I try to add this conditional statements to title,, but i get error.

    Code:
    {xen:helper threadPrefix, $thread}{$thread.title} <xen:if is="{$forum.node_id} == 290">{xen:datetime $thread.post_date, html}<xen:else />

    Plz, Where is the error ?

    Thanks
     
  2. James

    James Well-Known Member

    If that's all the code then the else at the end needs to be </xen:if>
     
    dondomainer likes this.
  3. dondomainer

    dondomainer Member

    Superb!!.. Thanks
     

Share This Page